JVM_IR: use substituted return type in function reference invoke

#KT-46982 Fixed
This commit is contained in:
pyos
2021-05-31 10:46:12 +02:00
committed by Dmitry Petrov
parent 84c10079e4
commit 5c2753b5d1
10 changed files with 52 additions and 2 deletions
@@ -2170,6 +2170,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("arrayConstructor.kt")
public void testArrayConstructor() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/arrayConstructor.kt");
}
@TestMetadata("arrayConstructorArgument.kt")
public void testArrayConstructorArgument() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/arrayConstructorArgument.kt");