Files
kotlin-fork/idea/idea-completion/testData/handlers/basic/extensionMethodInObject/ObjectInSameFileImplicitReceiver.kt.after
T
Roman Golyshev 90750483ee KT-36860 Collect extensions from object on first completion
- 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
2020-03-11 13:31:56 +03:00

13 lines
125 B
Plaintext
Vendored

import Extensions.foo
class T
object Extensions {
fun T.foo() {}
}
fun T.usage() {
foo()<caret>
}
// ELEMENT: foo