aad11ff0f4
This is temporary fix due to KT-13934 which prevents resolution of references like X::foo where foo is a member or extension of X companion object
20 lines
240 B
Kotlin
Vendored
20 lines
240 B
Kotlin
Vendored
package test
|
|
|
|
class A {
|
|
companion object {
|
|
fun foo() {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
fun A.Companion.bar() {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
<selection>A.Companion::foo
|
|
A.Companion::bar
|
|
(A.Companion)::foo
|
|
(A.Companion)::bar</selection>
|
|
} |