You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module HelloWorld;
------------------------------
--- Standard library imports
------------------------------
open import Stdlib.Prelude;
main : IO;
main := printStringLn "Hello world!";
I get the error:
> juvix typecheck HelloWorld.juvix
/.../HelloWorld.juvix:8:5: error:
/.../HelloWorld.juvix:8:5:
|
8 | open import Stdlib.Prelude;| ^
expecting "--", "{-", :=, or newline
However, when I remove the comment that is coming after the module and before the import:
module HelloWorld;
open import Stdlib.Prelude open;
main : IO;
main := printStringLn "Hello world!";
It compiles just fine.
This is new behaviour that started with 0.4.0 juvix version. Before it was not the error.
The text was updated successfully, but these errors were encountered:
When trying to typecheck this module:
I get the error:
However, when I remove the comment that is coming after the module and before the import:
It compiles just fine.
This is new behaviour that started with
0.4.0
juvix version. Before it was not the error.The text was updated successfully, but these errors were encountered: