Skip to content

Commit

Permalink
No MSBuild Error, when previous Warning has been ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Nov 27, 2024
1 parent 9179ddb commit 8824ffd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/IKVM.Runtime/compiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2565,7 +2565,6 @@ void Compile(Block block, int startIndex)
}

var message = harderrors[instr.HardErrorMessageId];
clazz.ClassLoader.Diagnostics.GenericCompilerError($"{exceptionType.Name}: {message}\n\tat {classFile.Name}.{m.Name}{m.Signature}");
ilGenerator.Emit(OpCodes.Ldstr, message);
RuntimeJavaMethod method = exceptionType.GetMethodWrapper("<init>", "(Ljava.lang.String;)V", false);
method.Link();
Expand Down

0 comments on commit 8824ffd

Please sign in to comment.