Closed
Description
$ lpython --show-ast --new-parser constants1.py
syntax error: Token ',' is unexpected here
--> constants1.py:38:15
|
38 | a = len((1, 2, 3))
| ^
Note: if any of the above error or warning messages are not clear or are lacking
context please report it to us (we consider that a bug that needs to be fixed).
$ lpython --show-ast --new-parser tuple1.py
syntax error: Token ',' is unexpected here
--> tuple1.py:13:13
|
13 | a4 = ((1, 2, 3), (4, 5, 6))
| ^
Note: if any of the above error or warning messages are not clear or are lacking
context please report it to us (we consider that a bug that needs to be fixed).