[Tests] Add regression test for KT-63564

#KT-63564 Fixed
This commit is contained in:
Kirill Rakhman
2023-11-22 16:20:22 +01:00
committed by Space Team
parent 674c56827f
commit 934253878b
20 changed files with 127 additions and 0 deletions
@@ -49813,6 +49813,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/sam/kt59858.kt");
}
@Test
@TestMetadata("kt63564.kt")
public void testKt63564() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
}
@Test
@TestMetadata("noConversionFromSamToSam.kt")
public void testNoConversionFromSamToSam() throws Exception {
@@ -49813,6 +49813,12 @@ public class FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated
runTest("compiler/testData/codegen/box/sam/kt59858.kt");
}
@Test
@TestMetadata("kt63564.kt")
public void testKt63564() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
}
@Test
@TestMetadata("noConversionFromSamToSam.kt")
public void testNoConversionFromSamToSam() throws Exception {
@@ -49813,6 +49813,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/sam/kt59858.kt");
}
@Test
@TestMetadata("kt63564.kt")
public void testKt63564() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
}
@Test
@TestMetadata("noConversionFromSamToSam.kt")
public void testNoConversionFromSamToSam() throws Exception {
+14
View File
@@ -0,0 +1,14 @@
import kotlin.reflect.KProperty
fun foo(vararg x: KProperty<*>) {}
var prop: String = ""
fun test() {
foo(::prop)
}
fun box(): String {
test()
return "OK"
}
@@ -46831,6 +46831,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/sam/kt59858.kt");
}
@Test
@TestMetadata("kt63564.kt")
public void testKt63564() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
}
@Test
@TestMetadata("noConversionFromSamToSam.kt")
public void testNoConversionFromSamToSam() throws Exception {
@@ -49813,6 +49813,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/sam/kt59858.kt");
}
@Test
@TestMetadata("kt63564.kt")
public void testKt63564() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
}
@Test
@TestMetadata("noConversionFromSamToSam.kt")
public void testNoConversionFromSamToSam() throws Exception {
@@ -49813,6 +49813,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
runTest("compiler/testData/codegen/box/sam/kt59858.kt");
}
@Test
@TestMetadata("kt63564.kt")
public void testKt63564() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
}
@Test
@TestMetadata("noConversionFromSamToSam.kt")
public void testNoConversionFromSamToSam() throws Exception {
@@ -40003,6 +40003,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/sam/kt59858.kt");
}
@TestMetadata("kt63564.kt")
public void testKt63564() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt63564.kt");
}
@TestMetadata("noConversionFromSamToSam.kt")
public void testNoConversionFromSamToSam() throws Exception {
runTest("compiler/testData/codegen/box/sam/noConversionFromSamToSam.kt");