Test parent scope completion in local object declaration
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
fun hello(moParam : Int) : Int {
|
||||||
|
val more = 12
|
||||||
|
|
||||||
|
val test = object {
|
||||||
|
val sss = mo<caret>
|
||||||
|
}
|
||||||
|
|
||||||
|
return 12
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXIST: more
|
||||||
|
// EXIST: moParam
|
||||||
@@ -97,6 +97,11 @@ public class JetBasicCompletionTest extends JetCompletionTestBase {
|
|||||||
doTest();
|
doTest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testInLocalObjectDeclaration() {
|
||||||
|
doTest();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public void testInMiddleOfNamespace() {
|
public void testInMiddleOfNamespace() {
|
||||||
doTest();
|
doTest();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user