anoma / juvix

A language for intent-centric and declarative decentralised applications
https://docs.juvix.org
GNU General Public License v3.0
457 stars 53 forks source link

Typecheck fails on Juvix Markdown files containing the word "import". #2924

Closed jonaprieto closed 3 months ago

jonaprieto commented 3 months ago

Thanks to @heindel, who just couldn't resist adding "important" things to the specs, we finally noticed the issue.

To reproduce the issue:

$ cat Hi.juvix.md
What is important is seldom urgent. 

The type checker reports:

juvix-v0.6.4 typecheck Hi.juvix.md 
/Users/jonaprieto/anoma/juvix/tests/positive/Markdown/Hi.juvix.md:0:8-17: error:
The module ant does not exist.
It should be in /Users/jonaprieto/anoma/juvix/tests/positive/ant.juvix
or in one of the dependencies:
• .juvix-build/stdlib/
heindel commented 3 months ago

the temporary workaround is to use the char sequence ímportant as a replacement for important