FIR: fix incorrect handling of suspend function typealiases again
The previous attempt stopped this code from throwing an exception during serialization, but the arity is still wrong so an exception is now throw when reading the serialized type. ^KT-50997 Fixed
This commit is contained in:
+6
@@ -35527,6 +35527,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/typealias/genericTypeAliasConstructor2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectTypeOfTypealiasForSuspendFTMM.kt")
|
||||
public void testIncorrectTypeOfTypealiasForSuspendFTMM() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/typealias/incorrectTypeOfTypealiasForSuspendFTMM.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectTypeOfTypealiasForSuspendFunctionalType.kt")
|
||||
public void testIncorrectTypeOfTypealiasForSuspendFunctionalType() throws Exception {
|
||||
|
||||
+6
@@ -35701,6 +35701,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/typealias/genericTypeAliasConstructor2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectTypeOfTypealiasForSuspendFTMM.kt")
|
||||
public void testIncorrectTypeOfTypealiasForSuspendFTMM() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/typealias/incorrectTypeOfTypealiasForSuspendFTMM.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectTypeOfTypealiasForSuspendFunctionalType.kt")
|
||||
public void testIncorrectTypeOfTypealiasForSuspendFunctionalType() throws Exception {
|
||||
|
||||
+5
@@ -31989,6 +31989,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/typealias/genericTypeAliasConstructor2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("incorrectTypeOfTypealiasForSuspendFTMM.kt")
|
||||
public void testIncorrectTypeOfTypealiasForSuspendFTMM() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/typealias/incorrectTypeOfTypealiasForSuspendFTMM.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("incorrectTypeOfTypealiasForSuspendFunctionalType.kt")
|
||||
public void testIncorrectTypeOfTypealiasForSuspendFunctionalType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/typealias/incorrectTypeOfTypealiasForSuspendFunctionalType.kt");
|
||||
|
||||
Reference in New Issue
Block a user