[FIR2IR] Correctly map arguments of type alias constructor call
Previously, we applied type arguments as is when converting type alias constructor calls to IR. Now, we map them using the expansion of the type alias. #KT-59743 Fixed
This commit is contained in:
committed by
Space Team
parent
b4335c86c8
commit
e35a28d36d
+6
@@ -2904,6 +2904,12 @@ public class ClassicJvmIrTextTestGenerated extends AbstractClassicJvmIrTextTest
|
||||
runTest("compiler/testData/ir/irText/firProblems/timesInBuilder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeAliasConstructorParameterMapping.kt")
|
||||
public void testTypeAliasConstructorParameterMapping() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/firProblems/TypeAliasConstructorParameterMapping.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("TypeParameterBounds.kt")
|
||||
public void testTypeParameterBounds() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user