swc/crates/swc_ecma_parser/tests/test262-error-references/fail/fb130c395c6aafe7.js.stderr
2021-11-10 19:00:54 +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: }
| ^^^^^^^