From 0a56af62ffa95360587728b82c947a2936743a4c Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 27 Sep 2022 15:10:00 +0300 Subject: Add src position to data structures --- app/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/Main.hs b/app/Main.hs index d31fef2..be5bdf3 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -27,7 +27,7 @@ repl config env = do case minput of Nothing -> return () Just input -> do - result <- lift $ runL config (runInlineScript env input) + result <- lift $ runL config (runInlineScript "" env input) case result of Left (LException ex) -> do outputStrLn $ "Error: " ++ ex -- cgit v1.3