[JS IR] Fix default arguments in suspend functions
Don't forget to remap parameter references in default arg expressions The issue originally discovered in kotlinx.coroutines tests. - add test
This commit is contained in:
+5
@@ -7698,6 +7698,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleWithDefaultValue.kt")
|
||||
public void testSimpleWithDefaultValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/simpleWithDefaultValue.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleWithHandleResult.kt")
|
||||
public void testSimpleWithHandleResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/simpleWithHandleResult.kt");
|
||||
|
||||
Reference in New Issue
Block a user