swc/ecmascript/parser/tests/test262-error-references/fail/ca2716d236c027cd.js.stderr
강동윤 b2aec35eb6
Fix issues (#1189)
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)
2020-10-28 21:20:11 +09:00

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 }); }
| ^^