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
In obj.await case, await should not throw a syntax error because this await is IdentifierName (a reserved word is allowed).
Acorn has succeeded to parse it.
I guess this error caused by this line.
SyntaxError: Unexpected token await
at Parser.instance.raise.instance.raiseRecoverable (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\espree\espree.js:394:19)
at Parser.instance.unexpected (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\espree\espree.js:427:14)
at Parser.esprimaFinishNode (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\espree\espree.js:142:14)
at Parser.finishNode (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\espree\espree.js:232:34)
at Parser.pp.parseIdent (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\acorn\dist\acorn.js:678:15)
at Parser.pp.parseSubscripts (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\acorn\dist\acorn.js:236:28)
at Parser.pp.parseExprSubscripts (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\acorn\dist\acorn.js:228:15)
at Parser.pp.parseMaybeUnary (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\acorn\dist\acorn.js:204:17)
at Parser.pp.parseExprOps (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\acorn\dist\acorn.js:151:19)
at Parser.pp.parseMaybeConditional (C:\Users\t-nagashima.AD\Documents\GitHub\eslint\node_modules\acorn\dist\acorn.js:133:19)
The text was updated successfully, but these errors were encountered:
From eslint/eslint#5564
On v3.1.1.
In
obj.await
case,await
should not throw a syntax error because thisawait
isIdentifierName
(a reserved word is allowed).Acorn has succeeded to parse it.
I guess this error caused by this line.
The text was updated successfully, but these errors were encountered: