K2 JVM: Take JVM declarations conflicting error back
Since SimpleDiagnosticsCollectorWithSuppress have been replaced by
PendingDiagnosticsCollectorWithSuppress after commit 9add6f3d55,
diagnostics need to be committed now.
#KT-54366 Fixed
This commit is contained in:
@@ -237,6 +237,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/compatqualWrong.args");
|
||||
}
|
||||
|
||||
@TestMetadata("conflictingJvmDeclarations.args")
|
||||
public void testConflictingJvmDeclarations() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/conflictingJvmDeclarations.args");
|
||||
}
|
||||
|
||||
@TestMetadata("conflictingOverloads.args")
|
||||
public void testConflictingOverloads() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/conflictingOverloads.args");
|
||||
|
||||
Reference in New Issue
Block a user