JVM_IR KT-45446 don't erase captured var if it's dead code
This commit is contained in:
committed by
TeamCityServer
parent
6bd34db725
commit
7fabc19326
+6
@@ -5793,6 +5793,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/kt44347.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt45446.kt")
|
||||
public void testKt45446() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/capturedVarsOptimization/kt45446.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("sharedSlotsWithCapturedVars.kt")
|
||||
public void testSharedSlotsWithCapturedVars() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user