jdk-24/test/langtools/tools/javac/switchextra/SwitchArrowBrokenConstant.out
Jan Lahoda b3b644438e 8206986: Compiler support for Switch Expressions (Preview)
8207405: Compiler Tree API support for Switch Expressions (Preview)

Support for switch expression, switch with rules and multiple constants for cases.

Reviewed-by: jjg, mcimadamore, vromero
2018-08-29 09:36:17 +02:00

12 lines
646 B
Plaintext

SwitchArrowBrokenConstant.java:13:20: compiler.err.expected: ')'
SwitchArrowBrokenConstant.java:13:23: compiler.err.expected2: :, ->
SwitchArrowBrokenConstant.java:16:20: compiler.err.expected: ')'
SwitchArrowBrokenConstant.java:16:23: compiler.err.expected2: :, ->
SwitchArrowBrokenConstant.java:19:19: compiler.err.expected2: :, ->
SwitchArrowBrokenConstant.java:22:19: compiler.err.expected2: :, ->
SwitchArrowBrokenConstant.java:25:20: compiler.err.expected2: :, ->
SwitchArrowBrokenConstant.java:28:20: compiler.err.expected2: :, ->
- compiler.note.preview.filename: SwitchArrowBrokenConstant.java
- compiler.note.preview.recompile
8 errors