e81d3fa8c3
Ensure a compile-time error is produced when there are no result expressions in an switch expression. Reviewed-by: vromero
9 lines
443 B
Plaintext
9 lines
443 B
Plaintext
EmptySwitch.java:33:10: compiler.err.switch.expression.empty
|
|
EmptySwitch.java:35:10: compiler.err.switch.expression.no.result.expressions
|
|
EmptySwitch.java:38:10: compiler.err.switch.expression.no.result.expressions
|
|
EmptySwitch.java:44:9: compiler.err.switch.expression.completes.normally
|
|
EmptySwitch.java:47:26: compiler.err.rule.completes.normally
|
|
- compiler.note.preview.filename: EmptySwitch.java
|
|
- compiler.note.preview.recompile
|
|
5 errors
|