mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
b2aec35eb6
swc_bundler: - Support emitting iife. (Closes #1184) swc_ecma_parser: - Auto-detect script / module (Closes #1164) - lexer: Error recovery for strict mode and module mode. - More error recovery logic for strict mode violation. - Fix panic on invalid input. (Closes #1170)
7 lines
224 B
Plaintext
7 lines
224 B
Plaintext
error: Legacy octal escape is not permitted in strict mode
|
|
--> $DIR/tests/test262-parser/fail/ca2716d236c027cd.js:1:38
|
|
|
|
|
1 | function hello() { 'use strict'; ({ "\1": 42 }); }
|
|
| ^^
|
|
|