Files
kotlin/compiler/testData/codegen/box/objects/kt18982.kt
Dmitry Petrov 9e6b706a03 Unwrap property imported from object on property access
#KT-18982 Fixed Target versions 1.1.5
2017-07-28 17:01:04 +03:00

9 lines
105 B
Kotlin
Vendored

import Foo.bar0 as bar
object Foo {
val bar0 = "OK"
fun test() = bar0
}
fun box() = Foo.test()