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
I recently upgraded the Acorn version in my project from v8.9.0 to v8.11.3 and noticed unexpected changes in the parsing behavior. Specifically, the parsing of certain constructs is different than the previous version.
The following export statements now parse "default" as "Identifier" instead of "Keyword":
The parsing of "var" and "null" in import statements has also changed. Previously, "var" was parsed as "Keyword" and "null" as "Null", but now both are parsed as "Identifier":
I am unsure if this change in parsing behavior is intentional or a bug. In the previous version, "default" was recognized as a "Keyword," and "var" and "null" were parsed differently. Please let me know if this is the expected behavior or if it is a bug introduced in the new version.
The text was updated successfully, but these errors were encountered:
I recently upgraded the Acorn version in my project from v8.9.0 to v8.11.3 and noticed unexpected changes in the parsing behavior. Specifically, the parsing of certain constructs is different than the previous version.
I am unsure if this change in parsing behavior is intentional or a bug. In the previous version, "default" was recognized as a "Keyword," and "var" and "null" were parsed differently. Please let me know if this is the expected behavior or if it is a bug introduced in the new version.
The text was updated successfully, but these errors were encountered: