PSI2IR KT-49526 function reference type approximation hack

This commit is contained in:
Dmitry Petrov
2021-12-17 16:18:11 +03:00
committed by Space
parent 9c0ea11c1b
commit 976998b56c
21 changed files with 360 additions and 1 deletions
@@ -2425,6 +2425,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/kt21092b.kt");
}
@TestMetadata("kt49526_sam.kt")
public void ignoreKt49526_sam() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526_sam.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -2558,6 +2563,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/kt47988.kt");
}
@TestMetadata("kt49526.kt")
public void testKt49526() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526.kt");
}
@TestMetadata("kt49526a.kt")
public void testKt49526a() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526a.kt");
}
@TestMetadata("kt49526b.kt")
public void testKt49526b() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526b.kt");
}
@TestMetadata("kt50172.kt")
public void testKt50172() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt50172.kt");