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
197 B
Plaintext
Vendored
20 lines
197 B
Plaintext
Vendored
package test
|
|
|
|
class A {
|
|
companion object {
|
|
fun foo() {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
fun A.Companion.bar() {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
A.Companion::foo
|
|
A.Companion::bar
|
|
(A)::foo
|
|
(A)::bar
|
|
} |