Capturing this in constructor context

KT-4086 VerifyError creating anonymous object in constructor
 #KT-4086 Fixed
This commit is contained in:
Mikhael Bogdanov
2013-10-30 14:37:42 +04:00
parent 936c0a0ae9
commit 318214b9d7
4 changed files with 28 additions and 9 deletions
@@ -3466,6 +3466,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/objects/kt3684.kt");
}
@TestMetadata("kt4086.kt")
public void testKt4086() throws Exception {
doTest("compiler/testData/codegen/box/objects/kt4086.kt");
}
@TestMetadata("kt535.kt")
public void testKt535() throws Exception {
doTest("compiler/testData/codegen/box/objects/kt535.kt");