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
13 lines
257 B
Kotlin
Vendored
13 lines
257 B
Kotlin
Vendored
class T
|
|
|
|
object A {
|
|
fun T.fooExtension() {}
|
|
val T.fooProperty get() = 10
|
|
}
|
|
|
|
fun usage(t: T) {
|
|
t.foo<caret>
|
|
}
|
|
|
|
// EXIST: { lookupString: "fooExtension", itemText: "fooExtension" }
|
|
// EXIST: { lookupString: "fooProperty", itemText: "fooProperty" } |