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 treats indentation as significant, so this is the expected behavior, What you should probably do is always try a regular parse first, and only when that fails, fall back on the loose parser. See also #199
A simple reproducer:
Where
foo.js
is this file:It renders like this:
Note that with this in
foo.js
:the bug does not occur. (Note the 2nd
new Foo()
indentation.)The text was updated successfully, but these errors were encountered: