-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
Description
Version used
v3.0.4
Describe the bug
There are some broken test cases in the Esprima test suite:
False negatives (cases that produce an error while they shouldn't):
- ES6/identifier/invalid_expression_await.module.js
- expression/primary/literal/regular-expression/migrated_0006.source.js
False positive (cases that don't produce an error while they should):
- es2017/async/functions/async-if.js
- es2017/async/functions/async-if-await.js
- ES6/binding-pattern/array-pattern/for-let-let.js
- ES6/binding-pattern/object-pattern/for-let-let.js
- ES6/export-declaration/export-named-keyword-as-specifier.js
- ES6/export-declaration/export-named-keyword-specifier.js
- ES6/identifier/module_await.js (illegal since ES2022)
- ES6/template-literals/escape-sequences.source.js (see the result of
eval('(s => s.raw[0])`\\n\\r\\b\\v\\t\\f\\\n\\\r\n`')) - ES6/template-literals/line-terminators.source.js (
\r\nis normalized to\nin raw strings as well) - ES6/yield/yield-generator-arrow-default.js
- ES6/yield/yield-generator-default-parameter.js
- statement/iteration/unterminated-do-while.json
- statement/with/unterminated-with.js
scgm0