Light Classes: Drop obsolete constraint which prevents generation of light methods for local class members

#KT-8892 Fixed
This commit is contained in:
Alexey Sedunov
2016-05-27 20:51:32 +03:00
parent d27f3c0189
commit cf8cf37d69
4 changed files with 5 additions and 9 deletions
@@ -45,7 +45,7 @@ public class KotlinJavaFacadeTest extends KotlinLightCodeInsightFixtureTestCase
}
public void testDoNotWrapFunFromLocalClass() {
doTestWrapMethod(false);
doTestWrapMethod(true);
}
public void testObjectSubclassing() {
@@ -53,7 +53,7 @@ public class KotlinJavaFacadeTest extends KotlinLightCodeInsightFixtureTestCase
}
public void testDoNotWrapFunInAnonymousObject() {
doTestWrapMethod(false);
doTestWrapMethod(true);
}
public void testWrapFunInClassWithoutBody() {
@@ -145,7 +145,7 @@ public class KotlinJavaFacadeTest extends KotlinLightCodeInsightFixtureTestCase
}
public void testWrapVarPropertyInLocalClass() {
doTestWrapProperty(false, false);
doTestWrapProperty(true, true);
}
public void testWrapVarTopLevelAccessor() {