< prev index next >
test/langtools/tools/javac/diags/examples/IncompatibleTypesInSwitchExpression.java
Print this page
*** 24,34 ****
// key: compiler.err.prob.found.req
// key: compiler.misc.incompatible.type.in.switch.expression
// key: compiler.misc.inconvertible.types
// key: compiler.note.preview.filename
// key: compiler.note.preview.recompile
! // options: --enable-preview -source 12
class IncompatibleTypesInSwitchExpression {
interface A { }
--- 24,34 ----
// key: compiler.err.prob.found.req
// key: compiler.misc.incompatible.type.in.switch.expression
// key: compiler.misc.inconvertible.types
// key: compiler.note.preview.filename
// key: compiler.note.preview.recompile
! // options: --enable-preview -source 13
class IncompatibleTypesInSwitchExpression {
interface A { }
< prev index next >