IR: unify 3 copies of function body remapping
Also,
1. remove some redundant copies;
2. fix remapping of non-local returns in lambdas if the body is moved
after LocalDeclarationsLowering (the lambda is no longer inside the
body, but must still be visited)
This commit is contained in:
+5
@@ -2119,6 +2119,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/nonLocalReturns/explicitLocalReturn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fromInterfaceDefaultGetter.kt")
|
||||
public void testFromInterfaceDefaultGetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/nonLocalReturns/fromInterfaceDefaultGetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("justReturnInLambda.kt")
|
||||
public void testJustReturnInLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/nonLocalReturns/justReturnInLambda.kt");
|
||||
|
||||
Reference in New Issue
Block a user