[tests] Drop a BI codegen test for should-be-red issue KT-63648
This commit is contained in:
committed by
Space Team
parent
254bcdc80a
commit
4b649cbbe9
-6
@@ -3045,12 +3045,6 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -3045,12 +3045,6 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -3028,12 +3028,6 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -3028,12 +3028,6 @@ public class FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -3028,12 +3028,6 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
// ISSUE: KT-63648
|
||||
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// IGNORE_BACKEND: ANY
|
||||
// REASON: red code (see corresponding diagnostic test)
|
||||
|
||||
fun box(): String {
|
||||
build {
|
||||
setTypeVariable(TargetType())
|
||||
getTypeVariable().consumeDifferentTypeReceiver()
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
class TargetType
|
||||
class DifferentType
|
||||
|
||||
fun DifferentType.consumeDifferentTypeReceiver() {}
|
||||
|
||||
class Buildee<TV> {
|
||||
fun setTypeVariable(value: TV) { storage = value }
|
||||
fun getTypeVariable(): TV = storage
|
||||
private var storage: TV = TargetType() as TV
|
||||
}
|
||||
|
||||
fun <PTV> build(instructions: Buildee<PTV>.() -> Unit): Buildee<PTV> {
|
||||
return Buildee<PTV>().apply(instructions)
|
||||
}
|
||||
-6
@@ -2848,12 +2848,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -3028,12 +3028,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -3028,12 +3028,6 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-5
@@ -2635,11 +2635,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63733.kt");
|
||||
|
||||
-6
@@ -2134,12 +2134,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
Generated
-6
@@ -2134,12 +2134,6 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -2134,12 +2134,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -2134,12 +2134,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -2196,12 +2196,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -2244,12 +2244,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -2148,12 +2148,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
-6
@@ -2197,12 +2197,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
Generated
-6
@@ -2122,12 +2122,6 @@ public class FirWasmCodegenBoxTestGenerated extends AbstractFirWasmCodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
Generated
-6
@@ -2122,12 +2122,6 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt61310.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63648.kt")
|
||||
public void testKt63648() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/builderInference/issues/kt63648.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63733.kt")
|
||||
public void testKt63733() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user