[IR BE] Fix capturing of var-locals inside class/field initializers
This commit is contained in:
+10
@@ -1834,6 +1834,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/boundJvmFieldInInterfaceCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("captureVarInInitBlock.kt")
|
||||
public void testCaptureVarInInitBlock() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/captureVarInInitBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("captureVarInPropertyInit.kt")
|
||||
public void testCaptureVarInPropertyInit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/captureVarInPropertyInit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("coercionToUnit.kt")
|
||||
public void testCoercionToUnit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/coercionToUnit.kt");
|
||||
|
||||
Reference in New Issue
Block a user