From 8824ffd9bccaee79d4ddf0fd40f40d8b81ecd803 Mon Sep 17 00:00:00 2001 From: AliveDevil Date: Wed, 27 Nov 2024 12:56:18 +0100 Subject: [PATCH] No MSBuild Error, when previous Warning has been ignored --- src/IKVM.Runtime/compiler.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/IKVM.Runtime/compiler.cs b/src/IKVM.Runtime/compiler.cs index 9efe8b734..c815f8ef3 100644 --- a/src/IKVM.Runtime/compiler.cs +++ b/src/IKVM.Runtime/compiler.cs @@ -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("", "(Ljava.lang.String;)V", false); method.Link();