Smart completion includes object's from scope before searching for inheritors

#KT-6123 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-11-26 21:42:15 +03:00
parent ed9dba2071
commit 85825e0ab1
8 changed files with 44 additions and 4 deletions
@@ -0,0 +1,5 @@
trait T
object OO : T
// ALLOW_AST_ACCESS
@@ -0,0 +1,6 @@
fun foo(): T = <caret>
// EXIST: foo
// EXIST: { lookupString: "object", itemText: "object: T{...}" }
// EXIST: { lookupString: "OO", itemText: "OO", tailText: " (<root>)" }
// NUMBER: 3