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
Attached patch should address this for regular expressions (and probably all further issues in this class). Could you open a separate issue on acorn-jsx? This approach won't help there—the tokenizer doesn't know an expression is coming up in this situation, so that plugin will need a similar kludge.
or with jsx
both should work as ASI is supposed to add a semicolon after the variable declaration.
Chrome parses the first one correctly.
Tried with acorn 6.0.2
The text was updated successfully, but these errors were encountered: