Smart completion includes object's from scope before searching for inheritors
#KT-6123 Fixed
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user