IR: Fix scope transparency in ReturnableBlockLowering
An IrReturnableBlock introduces a new variable scope and shouldn't be replaced with a transparent IrComposite block.
This commit is contained in:
committed by
Alexander Udalov
parent
b93c000250
commit
6f0ff6aeb0
+10
@@ -13020,6 +13020,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/directInvokeOptimization/contructorRef.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt53202.kt")
|
||||
public void testKt53202() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/directInvokeOptimization/kt53202.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt53202_funLiteral.kt")
|
||||
public void testKt53202_funLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/directInvokeOptimization/kt53202_funLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("nestedLambdas.kt")
|
||||
public void testNestedLambdas() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/directInvokeOptimization/nestedLambdas.kt");
|
||||
|
||||
Reference in New Issue
Block a user