[JVM_IR] Fix inline class default method codegen.
Do not coroutine transform static inline class replacements that forward to a default interface suspend method. No boxing has to take place on return (as the default interface method always boxes) so we can simply forward the call. ^KT-49645 Fixed
This commit is contained in:
committed by
Alexander Udalov
parent
50f610cfd8
commit
529944fe9c
+5
@@ -7638,6 +7638,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/kt46813.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt49645.kt")
|
||||
public void testKt49645() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/kt49645.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lastExpressionIsLoop.kt")
|
||||
public void testLastExpressionIsLoop() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt");
|
||||
|
||||
Reference in New Issue
Block a user