Files
kotlin-fork/compiler/testData/ir/irText/expressions/callableReferenceToImportedFromObject.kt
T
Dmitry Petrov 1420926a9b Generate receivers for callable references in the same way as for calls
Properly handle callable members imported from objects
and other related corner cases.

 #KT-18084 Fixed
2017-05-26 09:32:29 +03:00

14 lines
194 B
Kotlin
Vendored

package test
import test.Foo.a
import test.Foo.foo
object Foo {
val a: String = ""
fun foo(): String = ""
}
val test1 = ::a
val test1a = Foo::a
val test2 = ::foo
val test2a = Foo::foo