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:
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -6121,6 +6121,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
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_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt", "kotlin.coroutines");
|
||||
|
||||
Generated
+5
@@ -6121,6 +6121,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt", "kotlin.coroutines");
|
||||
|
||||
Generated
+5
@@ -6121,6 +6121,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/delegate.kt", "kotlin.coroutines");
|
||||
|
||||
Reference in New Issue
Block a user