Files
kotlin-fork/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt
T
Sergej Jaskiewicz 02180e8685 Factor out duplicated mangling logic for functions into the base class
^KT-57777 Fixed
^KT-57818 Fixed
2023-05-26 10:55:24 +00:00

19 lines
259 B
Kotlin
Vendored

// FIR_IDENTICAL
import A.foo
import A.bar
import A.fooExt
import A.barExt
object A {
fun foo() = 1
fun Int.fooExt() = 2
val bar = 42
val Int.barExt get() = 43
}
val test1 = foo()
val test2 = bar
val test3 = 1.fooExt()
val test4 = 1.barExt