[Tests] Add regression test for KT-63564
#KT-63564 Fixed
This commit is contained in:
committed by
Space Team
parent
674c56827f
commit
934253878b
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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
@@ -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"
|
||||
}
|
||||
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user