[FIR2IR] Expand typealias in callable reference receiver generation

^KT-56750 Fixed
This commit is contained in:
Kirill Rakhman
2023-03-01 10:54:04 +01:00
committed by Space Team
parent 3ec032212c
commit d00513599b
14 changed files with 80 additions and 2 deletions
@@ -2456,6 +2456,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/smartCastForExtensionReceiver.kt");
}
@Test
@TestMetadata("typeAliasObjectBoundReference.kt")
public void testTypeAliasObjectBoundReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/typeAliasObjectBoundReference.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/callableReference/bound/equals")
@TestDataPath("$PROJECT_ROOT")
@@ -2510,6 +2510,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/smartCastForExtensionReceiver.kt");
}
@Test
@TestMetadata("typeAliasObjectBoundReference.kt")
public void testTypeAliasObjectBoundReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/typeAliasObjectBoundReference.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/callableReference/bound/equals")
@TestDataPath("$PROJECT_ROOT")
@@ -2510,6 +2510,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/smartCastForExtensionReceiver.kt");
}
@Test
@TestMetadata("typeAliasObjectBoundReference.kt")
public void testTypeAliasObjectBoundReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/typeAliasObjectBoundReference.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/callableReference/bound/equals")
@TestDataPath("$PROJECT_ROOT")
@@ -2510,6 +2510,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/callableReference/bound/smartCastForExtensionReceiver.kt");
}
@Test
@TestMetadata("typeAliasObjectBoundReference.kt")
public void testTypeAliasObjectBoundReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/typeAliasObjectBoundReference.kt");
}
@Nested
@TestMetadata("compiler/testData/codegen/box/callableReference/bound/equals")
@TestDataPath("$PROJECT_ROOT")