Closed mtshiba closed 1 year ago
...
x = [1, 2, 3][0] print! x
1
[1, 2, 3]
this code seems to be parsed as
x = [1, 2, 3] [0] print! x
0.6.0-beta.2
No response
None
Does this include Tuple, Str, etc.?
zero = (1, 0, 2).1 h = "Hello, world"[0]
Describe the bug?
...
Reproducible code
Expected result
1
Actual result
[1, 2, 3]
Additional context
this code seems to be parsed as
Erg version
0.6.0-beta.2
Python version
No response
OS
None