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
It seems that the problem is related to desugaring and modules.
It seems that imported modules are not desugarred before type checking.
Should be an easy fix.
Following two files in the same directory:
main.enc
:Vector.enc
:If I run
encorec -tc Vector.enc
, the typecheck passes, but if I runencorec -tc main.enc
, I get:The expression seems to typecheck fine when I typecheck the file on its own, but not when it's imported.
The text was updated successfully, but these errors were encountered: