File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -748,6 +748,7 @@ yield switch (rootCauseCode) {
748748 case "compiler.err.ref.ambiguous" -> convertAmbiguous (diagnostic );
749749 case "compiler.err.illegal.initializer.for.type" -> IProblem .TypeMismatch ;
750750 case "compiler.err.prob.found.req" -> convertTypeMismatch (diagnostic );
751+ case "compiler.err.incomparable.types" -> IProblem .IncompatibleTypesInEqualityOperator ;
751752 case "compiler.err.invalid.meth.decl.ret.type.req" -> IProblem .MissingReturnType ;
752753 case "compiler.err.abstract.meth.cant.have.body" -> IProblem .BodyForAbstractMethod ;
753754 case "compiler.err.unreported.exception.need.to.catch.or.throw" -> IProblem .UnhandledException ;
@@ -1038,6 +1039,7 @@ yield switch (rootCauseCode) {
10381039 case "compiler.err.switch.expression.empty" -> IProblem .SwitchExpressionsYieldMissingDefaultCase ;
10391040 case "compiler.err.switch.mixing.case.types" -> IProblem .SwitchPreviewMixedCase ;
10401041 case "compiler.err.return.outside.switch.expression" -> IProblem .SwitchExpressionsReturnWithinSwitchExpression ;
1042+ case "compiler.err.switch.case.unexpected.statement" -> IProblem .Syntax ;
10411043 case "compiler.err.cant.apply.diamond.1" ->
10421044 diagnostic .getMessage (Locale .ENGLISH ).contains ("explicit type parameters" )
10431045 ? IProblem .CannotUseDiamondWithExplicitTypeArguments
You can’t perform that action at this time.
0 commit comments