[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
@@ -3594,6 +3594,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
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 {
@@ -3555,6 +3555,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
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 {