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
@@ -1911,6 +1911,30 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/kt47988.kt");
}
@Test
@TestMetadata("kt49526.kt")
public void testKt49526() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526.kt");
}
@Test
@TestMetadata("kt49526_sam.kt")
public void testKt49526_sam() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526_sam.kt");
}
@Test
@TestMetadata("kt49526a.kt")
public void testKt49526a() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526a.kt");
}
@Test
@TestMetadata("kt49526b.kt")
public void testKt49526b() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526b.kt");
}
@Test
@TestMetadata("kt50172.kt")
public void testKt50172() throws Exception {
@@ -1953,6 +1953,30 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/kt47988.kt");
}
@Test
@TestMetadata("kt49526.kt")
public void testKt49526() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526.kt");
}
@Test
@TestMetadata("kt49526_sam.kt")
public void testKt49526_sam() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526_sam.kt");
}
@Test
@TestMetadata("kt49526a.kt")
public void testKt49526a() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526a.kt");
}
@Test
@TestMetadata("kt49526b.kt")
public void testKt49526b() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526b.kt");
}
@Test
@TestMetadata("kt50172.kt")
public void testKt50172() throws Exception {
@@ -1748,6 +1748,26 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
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("kt49526_sam.kt")
public void testKt49526_sam() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt49526_sam.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");