Fixed KT-5611 Completion doesn't include not imported extensions for implicit receiver
#KT-5611 Fixed
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
package second
|
||||
|
||||
import first.C
|
||||
|
||||
fun String.helloFun() { }
|
||||
|
||||
fun String.helloWithParams(i : Int): String = ""
|
||||
|
||||
val String.helloProp: Int get() = 1
|
||||
|
||||
val C.helloForC: Int get() = 1
|
||||
|
||||
fun Int.helloFake() { }
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package first
|
||||
|
||||
class C {
|
||||
fun String.firstFun() {
|
||||
hello<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: helloFun
|
||||
// EXIST: helloWithParams
|
||||
// EXIST: helloProp
|
||||
// EXIST: helloForC
|
||||
// ABSENT: helloFake
|
||||
// NUMBER: 4
|
||||
Reference in New Issue
Block a user