Fixed KT-5046 No autocompletion for not imported extension properties

#KT-5046 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-08-12 19:08:55 +04:00
parent 9c138d8637
commit bb343c2853
5 changed files with 38 additions and 33 deletions
@@ -0,0 +1,8 @@
package testing
fun someFun() {
"".hello<caret>
}
// EXIST: helloProp1, helloProp2
// ABSENT: helloProp3, helloProp4
@@ -0,0 +1,6 @@
package abc
public val String.helloProp1: Int get() = 1
public val String.helloProp2: Int get() = 2
public val Int.helloProp3: Int get() = 3
public val helloProp4: Int = 4
@@ -0,0 +1,6 @@
package abc
val String.helloProp1: Int get() = 1
val String.helloProp2: Int get() = 2
val Int.helloProp3: Int get() = 3
val helloProp4: Int = 4
@@ -0,0 +1,12 @@
package first
fun firstFun() {
val a = ""
a.hello<caret>
}
// EXIST: helloProp1
// EXIST: helloProp2
// ABSENT: helloProp3
// ABSENT: helloProp4
// NUMBER: 2