Callable reference completion for non-imported callables
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package dependency
|
||||
|
||||
fun String.extFun(){}
|
||||
fun String.wrongExtFun(p: Int){}
|
||||
|
||||
fun topLevelFun(){}
|
||||
fun wrongTopLevelFun(p: Int){}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
fun String.foo() {
|
||||
bar(::<caret>)
|
||||
}
|
||||
|
||||
fun bar(p: () -> Unit) { }
|
||||
fun bar(p: String.() -> Unit) { }
|
||||
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// EXIST: extFun
|
||||
// EXIST: topLevelFun
|
||||
// ABSENT: wrongExtFun
|
||||
// ABSENT: wrongTopLevelFun
|
||||
Reference in New Issue
Block a user