K2: add BB tests for KT-59380 working properly (compiler error in K1)

#KT-59380 As Designed
This commit is contained in:
Mikhail Glukhikh
2024-01-31 10:11:03 +01:00
committed by Space Team
parent dab9ac3b1c
commit 36dd9b6818
12 changed files with 252 additions and 0 deletions
@@ -16397,6 +16397,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/fir/emptyIntersectionWarning.kt");
}
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void ignoreKotlinJavaStaticAccidentalOverride() throws Exception {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void ignoreKotlinJavaStaticAccidentalOverride2() throws Exception {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@TestMetadata("selectingLambdas.kt")
public void ignoreSelectingLambdas() throws Exception {
runTest("compiler/testData/codegen/box/fir/selectingLambdas.kt");
@@ -16630,6 +16640,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() throws Exception {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticFromInterfaceAccidentalOverride.kt");
}
@TestMetadata("kt61856.kt")
public void testKt61856() throws Exception {
runTest("compiler/testData/codegen/box/fir/kt61856.kt");