Skip to content

Commit

Permalink
Convert compiler.err.switch.mixing.case.types
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelistria committed Dec 6, 2024
1 parent c80e7ff commit 42267bc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ yield switch (rootCauseCode) {
case "compiler.err.service.implementation.doesnt.have.a.no.args.constructor" -> IProblem.ProviderMethodOrConstructorRequiredForServiceImpl;
case "compiler.err.not.exhaustive" -> IProblem.SwitchExpressionsYieldMissingDefaultCase;
case "compiler.err.switch.expression.empty" -> IProblem.SwitchExpressionsYieldMissingDefaultCase;
case "compiler.err.switch.mixing.case.types" -> IProblem.SwitchPreviewMixedCase;
case "compiler.err.return.outside.switch.expression" -> IProblem.SwitchExpressionsReturnWithinSwitchExpression;
case "compiler.err.cant.apply.diamond.1" -> IProblem.NonGenericType;
case "compiler.err.class.in.unnamed.module.cant.extend.sealed.in.diff.package" -> IProblem.SealedPermittedTypeOutsideOfPackage;
Expand Down

0 comments on commit 42267bc

Please sign in to comment.