KT-2725 No completion in properties initializers and accessors

#KT-2725 Fixed
This commit is contained in:
Nikolay Krasko
2012-09-04 16:37:37 +04:00
parent 138373c94c
commit d9cd4f0d74
7 changed files with 80 additions and 8 deletions
@@ -0,0 +1,9 @@
class Test(val testParam : Int) {
val x : Int get() {
val test = 12
return te<caret>
}
}
// EXIST: test
// EXIST: testParam
@@ -0,0 +1,6 @@
val testing = 12
val test = "Hello"
val more = test<caret>
// EXIST: test, testing
@@ -0,0 +1,11 @@
val testGlobal = 12
val test : Int get() {
class SomeMore(testParam : Int) {
{
tes<caret>
}
}
}
// EXIST: testGlobal, test, testParam
@@ -92,6 +92,10 @@ public class JetBasicCompletionTest extends JetCompletionTestBase {
doTest();
}
public void testInClassPropertyAccessor() {
doTest();
}
public void testInEmptyImport() {
doTest();
}
@@ -100,10 +104,18 @@ public class JetBasicCompletionTest extends JetCompletionTestBase {
doTest();
}
public void testInGlobalPropertyInitializer() {
doTest();
}
public void testInImport() {
doTest();
}
public void testInInitializerInPropertyAccessor() {
doTest();
}
public void testInLocalObjectDeclaration() {
doTest();
}