[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
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user