swc/ecmascript/parser/tests/test262-error-references/fail/fb130c395c6aafe7.js.stderr
강동윤 4a30fb3436
Testing framework (#31)
- Make rls happy.
  - Some minor parser error improvements.
  - Add reference files for ecmascript parser errors.
  - Improve error message of import/export used outside of a module
2018-02-27 13:21:57 +09:00

13 lines
368 B
Plaintext

error: A switch block cannot have multiple defaults
--> $DIR/tests/test262-parser/fail/fb130c395c6aafe7.js:1:23
|
1 | switch (c) { default: default: }
| ^^^^^^^
|
note: previous default case is declared at here
--> $DIR/tests/test262-parser/fail/fb130c395c6aafe7.js:1:14
|
1 | switch (c) { default: default: }
| ^^^^^^^