Generate correct $default method for actual suspend function

In order to do this, we need to get initial expect suspend function
before generating default value parameters checks.
 #KT-43587 Fixed
This commit is contained in:
Ilmir Usmanov
2020-12-07 08:55:28 +01:00
parent 0dc5f3ac00
commit 7f51f57998
9 changed files with 66 additions and 1 deletions
@@ -7956,6 +7956,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/breakWithNonEmptyStack.kt", "kotlin.coroutines");
}
@TestMetadata("defaultExpect.kt")
public void testDefaultExpect() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/defaultExpect.kt");
}
@TestMetadata("delegate.kt")
public void testDelegate_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt", "kotlin.coroutines.experimental");