Assignments do not compile
garritfra opened this issue · comments
Describe the bug
When trying to assign any value to a variable (here foo
), the following error is thrown:
Error: foo is not defined
To Reproduce
Steps to reproduce the behavior:
- Run
clio new foo
- Run
cd foo
- Replace
src/main.clio
with this snippet:
2 => bar
bar -> print
- Run
clio run
(5. Copy new clio internals to source if nessessary)
(6. Runclio run
again)
Expected behavior
The value should be assigned to the variable
Screenshots
null
Versions (please complete the following information):
- OS: MacOS Catalina
- Clio: develop
- Node: 12.13.1
- NPM: 6.13.6
Possible solutions
- 👀
Additional context
This issue was detected when reviewing #157