KT-1151 Code completion for not imported extension functions - test for completion extension function without params
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package first
|
||||
|
||||
import java.util.ArrayList
|
||||
|
||||
fun firstFun() {
|
||||
val a = ArrayList<Int>()
|
||||
a.toLinke<caret>
|
||||
}
|
||||
|
||||
// RUNTIME: 1
|
||||
// TIME: 2
|
||||
// EXIST: toLinkedList
|
||||
// NUMBER: 1
|
||||
@@ -0,0 +1,10 @@
|
||||
package first
|
||||
|
||||
fun firstFun() {
|
||||
val a = ""
|
||||
a.hello<caret>
|
||||
}
|
||||
|
||||
// EXIST: helloFun
|
||||
// EXIST: helloFunPreventAutoInsert
|
||||
// NUMBER: 2
|
||||
@@ -0,0 +1,7 @@
|
||||
package second
|
||||
|
||||
fun String.helloFun() {
|
||||
}
|
||||
|
||||
fun String.helloFunPreventAutoInsert() {
|
||||
}
|
||||
Reference in New Issue
Block a user