mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
d074063867
Implement some error recovery logic to parser
19 lines
559 B
Plaintext
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
|
|
| ^^^^^^^^^
|
|
|