K2: Fix type-alias expansion during suspend function type serialization
When suspend function type is serialized, there is special logic that adds Continuation parameter, before doing so, type-aliases has to be expanded, attributes for resulting type should also derive from expanded type KT-53193, KT-54062
This commit is contained in:
+5
@@ -1002,6 +1002,11 @@ public class JvmRuntimeDescriptorLoaderTestGenerated extends AbstractJvmRuntimeD
|
||||
public void testBasic() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlin/coroutines/Basic.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeAliasFTSuspendWithReceiver.kt")
|
||||
public void testTypeAliasFTSuspendWithReceiver() throws Exception {
|
||||
runTest("compiler/testData/loadJava/compiledKotlin/coroutines/TypeAliasFTSuspendWithReceiver.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/loadJava/compiledKotlin/dataClass")
|
||||
|
||||
Reference in New Issue
Block a user