90750483ee
- This should not affect the performance of the completion, since all object extensions are collected on the last step, when all main variants are already collected - Add more tests - Also, disable completion of extensions from objects as callable references (^KT-37395 Fixed) - ^KT-36860 Fixed
14 lines
202 B
Kotlin
Vendored
14 lines
202 B
Kotlin
Vendored
class T
|
|
|
|
class A {
|
|
companion object {
|
|
infix fun T.fooExtension(i: Int) {}
|
|
}
|
|
}
|
|
|
|
fun usage(t: T) {
|
|
t foo<caret>
|
|
}
|
|
|
|
// EXIST: { lookupString: "fooExtension", itemText: "fooExtension" }
|