The implicit version of for..in comprehension (the version without the in keyword) causes compilation error on line, where the in keyword is used, and is on the same depth. And by depth I don't mean indent, it is something different, something internal.
Minimal example:
Extended example, with diverse ways of increasing the depth:
[[{b: {[.., 1] for a}}]]
->
if c
d
.e (.f in [2 3])
I noticed, that only comprehensions are affected by this bug, and only those without the in keyword.
The construction for a => .. doesn't cause an error.
The in expression also has to be somehow wrapped. This:
is not erroneous.
The implicit version of
for..incomprehension (the version without theinkeyword) causes compilation error on line, where theinkeyword is used, and is on the same depth. And by depth I don't mean indent, it is something different, something internal.Minimal example:
Extended example, with diverse ways of increasing the depth:
[[{b: {[.., 1] for a}}]] -> if c d .e (.f in [2 3])I noticed, that only comprehensions are affected by this bug, and only those without the
inkeyword.The construction
for a => ..doesn't cause an error.The
inexpression also has to be somehow wrapped. This:is not erroneous.