swc/ecmascript/parser/tests/test262-error-references/fail/939b16a89d0e8704.js.stderr
강동윤 d074063867
Parser: Error recovery (#449)
Implement some error recovery logic to parser
2019-11-17 18:36:47 +09:00

19 lines
559 B
Plaintext

error: 'eval' and 'arguments' cannot be used as a binding identifier in strict mode
--> $DIR/tests/test262-parser/fail/939b16a89d0e8704.js:1:21
|
1 | "use strict"; ({ v: arguments }) = obj
| ^^^^^^^^^
error: TS2406
--> $DIR/tests/test262-parser/fail/939b16a89d0e8704.js:1:15
|
1 | "use strict"; ({ v: arguments }) = obj
| ^^^^^^^^^^^^^^^^^^
error: Cannot assign to this
--> $DIR/tests/test262-parser/fail/939b16a89d0e8704.js:1:21
|
1 | "use strict"; ({ v: arguments }) = obj
| ^^^^^^^^^