You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GeoffreyBooth
changed the title
Ending a "for of"-loop or "for in"-loop with a function in which you provide an object, causes the next line to result in an error
Lexer: Ending a “for of” or “for in” loop with a function in which you provide an object, causes the next line to result in an error
Jun 11, 2017
The following code fails to compile:
Error on line 2: unexpected [
Adding parentheses works:
And the one-liner works too:
I feel this is a bug or is this expected behaviour?
The text was updated successfully, but these errors were encountered: