KT-3523: VerifyError for invoke function in inner class

KT-4106: VerifyError: Can't access outer this in a lambda in inner class' constructor
KT-3152: VerifyError when accessing from a function of object to a field of outer outer class

  #KT-3523 Fixed
  #KT-4106 Fixed
  #KT-3152 Fixed
This commit is contained in:
Mikhael Bogdanov
2013-10-30 16:00:17 +04:00
parent 10396b853a
commit c325dfffd9
5 changed files with 89 additions and 17 deletions
@@ -1257,11 +1257,26 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/closures/kt2151.kt");
}
@TestMetadata("kt3152.kt")
public void testKt3152() throws Exception {
doTest("compiler/testData/codegen/box/closures/kt3152.kt");
}
@TestMetadata("kt3523.kt")
public void testKt3523() throws Exception {
doTest("compiler/testData/codegen/box/closures/kt3523.kt");
}
@TestMetadata("kt3905.kt")
public void testKt3905() throws Exception {
doTest("compiler/testData/codegen/box/closures/kt3905.kt");
}
@TestMetadata("kt4106.kt")
public void testKt4106() throws Exception {
doTest("compiler/testData/codegen/box/closures/kt4106.kt");
}
@TestMetadata("kt4137.kt")
public void testKt4137() throws Exception {
doTest("compiler/testData/codegen/box/closures/kt4137.kt");