[JS Legacy] Fix returning Char from suspend functions (KT-44221)
Mark translated expression with a proper type, like we do with non-suspending calls, to coerce it later.
This commit is contained in:
+5
@@ -6853,6 +6853,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/kt42554.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt44221.kt")
|
||||
public void testKt44221() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/kt44221.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lastExpressionIsLoop.kt")
|
||||
public void testLastExpressionIsLoop() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt");
|
||||
|
||||
Reference in New Issue
Block a user