Fixed KT-5046 No autocompletion for not imported extension properties
#KT-5046 Fixed
This commit is contained in:
@@ -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
|
||||
+6
@@ -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
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package first
|
||||
|
||||
fun firstFun() {
|
||||
val a = ""
|
||||
a.hello<caret>
|
||||
}
|
||||
|
||||
// EXIST: helloProp1
|
||||
// EXIST: helloProp2
|
||||
// ABSENT: helloProp3
|
||||
// ABSENT: helloProp4
|
||||
// NUMBER: 2
|
||||
Reference in New Issue
Block a user