[Wasm] Fix generic call return type for functions with default parameters

This commit is contained in:
Igor Yakovlev
2023-03-29 19:17:59 +02:00
committed by Space Team
parent b8f797af00
commit 44190937b0
15 changed files with 106 additions and 4 deletions
@@ -4829,6 +4829,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt");
}
@Test
@TestMetadata("genericReturnCast.kt")
public void testGenericReturnCast() throws Exception {
runTest("compiler/testData/codegen/box/casts/genericReturnCast.kt");
}
@Test
@TestMetadata("intersectionTypeMultipleBounds.kt")
public void testIntersectionTypeMultipleBounds() throws Exception {
@@ -4829,6 +4829,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/casts/dontCreateInconsistentTypeDuringStarProjectionSubstitution.kt");
}
@Test
@TestMetadata("genericReturnCast.kt")
public void testGenericReturnCast() throws Exception {
runTest("compiler/testData/codegen/box/casts/genericReturnCast.kt");
}
@Test
@TestMetadata("intersectionTypeMultipleBounds.kt")
public void testIntersectionTypeMultipleBounds() throws Exception {