KT-13583: allow local classes to capture members of outer classes

This commit is contained in:
Alexey Andreev
2016-09-07 11:40:41 +03:00
parent a29faf3f2d
commit 80361bf2fb
5 changed files with 83 additions and 0 deletions
@@ -192,6 +192,10 @@ public final class ClosureTest extends SingleFileTranslationTest {
checkFooBoxIsOk();
}
public void testEnclosingClassFromLocalClass() throws Exception {
checkFooBoxIsOk();
}
public void testObjectWithInvokeOperator() throws Exception {
checkFooBoxIsOk();
}
@@ -63,4 +63,8 @@ public final class ObjectTest extends SingleFileTranslationTest {
public void testDontPolluteObject() throws Exception {
checkFooBoxIsOk();
}
public void testKt3684() throws Exception {
checkFooBoxIsOk();
}
}