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
The loose parser is indentation-sensitive. Passing it misindented code will cause it to parse the code incorrectly, and it seems the issue in the example code isn't consistently indented, regardless of whether spaces and tabs are mixed—the second line has a tab and a space, the third only a tab.
acorn-loose
v8.0.1
Parsing goes wrong when you have mixed spaces and tabs.
Example:
Expected:
Actual:
For some reason declaration of variable "asd" moved to the main body of the program, but it should be inside of the function declaration.
The text was updated successfully, but these errors were encountered: