mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
d50ab99ef0
swc_ecma_parser: - Fix parser of eval and arguments swc_ecma_transforms: - Improve fixer (#451)
13 lines
312 B
Plaintext
13 lines
312 B
Plaintext
error: TS2406
|
|
--> $DIR/tests/test262-parser/fail/75b52e0f57aab958.js:1:15
|
|
|
|
|
1 | "use strict"; ({ v: eval }) = obj
|
|
| ^^^^^^^^^^^^^
|
|
|
|
error: Cannot assign to this
|
|
--> $DIR/tests/test262-parser/fail/75b52e0f57aab958.js:1:21
|
|
|
|
|
1 | "use strict"; ({ v: eval }) = obj
|
|
| ^^^^
|
|
|