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 production import foo { bar } from "bar"; is an invalid production, but parses as if it were import foo, { bar } from "bar";, a valid production. (Note the extra comma after the identifier foo.)
Visualization of error:
import foo, { bar } from "bar"; // correct
import foo { bar } from "bar"; // incorrect
^ comma must be required here, yet is automatically inserted.
The production
import foo { bar } from "bar";
is an invalid production, but parses as if it wereimport foo, { bar } from "bar";
, a valid production. (Note the extra comma after the identifierfoo
.)Visualization of error:
Affects harmony branch at top of master.
(Migrated from https://code.google.com/p/esprima/issues/detail?id=610, as filed by @IMPinball)
The text was updated successfully, but these errors were encountered: