Skip to content

Commit

Permalink
problemids for extends interface and implements non-interface
Browse files Browse the repository at this point in the history
Signed-off-by: David Thompson <[email protected]>
  • Loading branch information
datho7561 authored and mickaelistria committed Feb 10, 2025
1 parent 04e927a commit fd79fbd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,8 @@ yield switch (rootCauseCode) {
case "compiler.err.file.sb.on.source.or.patch.path.for.module" -> IProblem.ParsingErrorOnKeywordNoSuggestion;
case "compiler.err.package.not.visible" -> IProblem.NotVisibleType;
case "compiler.err.expected4" -> IProblem.Syntax;
case "compiler.err.no.intf.expected.here" -> IProblem.SuperclassMustBeAClass;
case "compiler.err.intf.expected.here" -> IProblem.SuperInterfaceMustBeAnInterface;
default -> {
ILog.get().error("Could not convert diagnostic (" + diagnostic.getCode() + ")\n" + diagnostic);
yield 0;
Expand Down

0 comments on commit fd79fbd

Please sign in to comment.