Open nanakura opened 1 month ago
I tried compiling an example from The Erg Book but failed
assert [(i, j) | i <- 0..2; j <- 0..2; (i + j) % 2 == 0] == [(0, 0), (0, 2), (1, 1), (2, 0), (2, 2)]
compile success
🚫 Error[#0809]: File test.er, line 3, 3 │ assert [(i, j) | i <- 0..2; j <- 0..2; (i + j) % 2 == 0] == [(0, 0), (0, 2), (1, 1), (2, 0), (2, 2)] · - SyntaxError: invalid syntax
and
No response
0.6.36
Python3.11
Windows 11
Describe the bug?
I tried compiling an example from The Erg Book but failed
Reproducible code
Expected result
compile success
Actual result
and![image](https://github.com/erg-lang/erg/assets/69560752/e2edd46c-b1af-4ba5-9079-c34c9928ed3e)
Additional context
No response
Erg version
0.6.36
Python version
Python3.11
OS
Windows 11