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
@@ -2931,6 +2931,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
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("builtinFunctionReferenceOwner.kt")
|
||||
public void testBuiltinFunctionReferenceOwner() throws Exception {
|
||||
|
||||
+6
@@ -3087,6 +3087,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
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("builtinFunctionReferenceOwner.kt")
|
||||
public void testBuiltinFunctionReferenceOwner() throws Exception {
|
||||
|
||||
+6
@@ -3087,6 +3087,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
|
||||
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("builtinFunctionReferenceOwner.kt")
|
||||
public void testBuiltinFunctionReferenceOwner() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user