Closed Shilpi3 closed 7 years ago
input script 190: for(let [let];;); input script 205: for(let [a, a];;) earlyErrors: false
for(let [let];;);
for(let [a, a];;)
Expected: No Exceptions Actual: Exception
` ../shift-parser-js/dist/parser.js:748 throw this.createError(_errors.ErrorMessages.UNINITIALIZED_BINDINGPATTERN_IN_FOR_INIT); ^
Error: [1:15]: Binding pattern appears without initializer in for statement init `
This is a misclassified test; shift-parser is correct.
@Shilpi3 It looks like script 205 is not what you've copied into this issue.
Moved to https://github.com/tc39/test262-parser-tests/issues/11
input script 190:
for(let [let];;);
input script 205:for(let [a, a];;)
earlyErrors: falseExpected: No Exceptions Actual: Exception
` ../shift-parser-js/dist/parser.js:748 throw this.createError(_errors.ErrorMessages.UNINITIALIZED_BINDINGPATTERN_IN_FOR_INIT); ^
Error: [1:15]: Binding pattern appears without initializer in for statement init `