Files
kotlin-fork/idea/idea-completion/testData/basic/common/KT33903_2.kt
T
Roman Golyshev 0239229dfc KT-33903: consider imports from objects when removing descriptors duplicates
- `ImportedFromObjectCallableDescriptor` and descriptors in general do
not have consistent `equals`,  which leads to duplication in completion
when multiple functions from objects are imported, or when function is
visible in some scope both implicitly and by import (see KT33903_1.kt)
- ^KT-33903 Fixed
2019-09-26 18:23:04 +03:00

14 lines
133 B
Kotlin
Vendored

import Obj.foo
import Obj.foo
object Obj {
fun Any.foo() {}
}
fun usage() {
Any().foo<caret>
}
// EXIST: foo
// NUMBER: 1