Skip to content

Commit 6c80638

Browse files
fix: error semantic
1 parent 5cca65a commit 6c80638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Main.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ main = do
4848

4949
exitWithError :: String -> IO a
5050
exitWithError msg =
51-
hPutStrLn stderr ("*** ERROR : " ++ msg)
51+
hPutStrLn stderr ("[ERROR] : " ++ msg)
5252
>> exitWith (ExitFailure 84)
5353

5454
formatCompileError :: CompileError -> String
@@ -358,7 +358,7 @@ replLoop = do
358358
else do
359359
result <- runProgram input
360360
case result of
361-
Left err -> putStrLn ("*** ERROR : " ++ err)
361+
Left err -> putStrLn ("[ERROR] : " ++ err)
362362
Right VUnit -> return ()
363363
Right val -> putStrLn (renderValue val)
364364
replLoop

0 commit comments

Comments
 (0)