swc/ecmascript/parser/tests/test262-error-references/fail/fb130c395c6aafe7.js.stderr

13 lines
368 B
Plaintext
Raw Normal View History

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: }
| ^^^^^^^