[FIR] Reproduce one more failure for KT-65972 #2

And refactor another related test to
explain the desired behavior.

^KT-65972
This commit is contained in:
Nikolay Lunyak
2024-02-21 13:53:48 +02:00
committed by Space Team
parent e929ed8f8c
commit ee20d979cb
8 changed files with 128 additions and 13 deletions
@@ -633,6 +633,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/intersectionWithMultipleDefaultsInJava.kt");
}
@Test
@TestMetadata("intersectionWithMultipleDefaultsInJavaOverriddenByIntersectionInKotlin.kt")
public void testIntersectionWithMultipleDefaultsInJavaOverriddenByIntersectionInKotlin() {
runTest("compiler/testData/diagnostics/tests/intersectionWithMultipleDefaultsInJavaOverriddenByIntersectionInKotlin.kt");
}
@Test
@TestMetadata("invalidTargetCrashesCompiler.kt")
public void testInvalidTargetCrashesCompiler() {
@@ -633,6 +633,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/intersectionWithMultipleDefaultsInJava.kt");
}
@Test
@TestMetadata("intersectionWithMultipleDefaultsInJavaOverriddenByIntersectionInKotlin.kt")
public void testIntersectionWithMultipleDefaultsInJavaOverriddenByIntersectionInKotlin() {
runTest("compiler/testData/diagnostics/tests/intersectionWithMultipleDefaultsInJavaOverriddenByIntersectionInKotlin.kt");
}
@Test
@TestMetadata("invalidTargetCrashesCompiler.kt")
public void testInvalidTargetCrashesCompiler() {