Substitute type arguments to return type of inlined function references
Such substitution is crucial on codegen stage if the return type is reified (e.g. for `Array`) ^KT-59507: Fixed ^KT-59281: Fixed
This commit is contained in:
committed by
Space Team
parent
f5a00c788a
commit
e5763a692f
+6
@@ -1973,6 +1973,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/callableReference/arrayOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfNulls.kt")
|
||||
public void testArrayOfNulls() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/arrayOfNulls.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferenceOfCompanionConst.kt")
|
||||
public void testCallableReferenceOfCompanionConst() throws Exception {
|
||||
|
||||
+6
@@ -2029,6 +2029,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/callableReference/arrayOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfNulls.kt")
|
||||
public void testArrayOfNulls() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/arrayOfNulls.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferenceOfCompanionConst.kt")
|
||||
public void testCallableReferenceOfCompanionConst() throws Exception {
|
||||
|
||||
+6
@@ -1946,6 +1946,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/callableReference/arrayOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfNulls.kt")
|
||||
public void testArrayOfNulls() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/arrayOfNulls.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferenceOfCompanionConst.kt")
|
||||
public void testCallableReferenceOfCompanionConst() throws Exception {
|
||||
|
||||
+6
@@ -1974,6 +1974,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/callableReference/arrayOf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("arrayOfNulls.kt")
|
||||
public void testArrayOfNulls() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/arrayOfNulls.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferenceOfCompanionConst.kt")
|
||||
public void testCallableReferenceOfCompanionConst() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user