KT-13583: allow local classes to capture members of outer classes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user