Files
kotlin-fork/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt
T
2024-02-16 10:19:38 +00:00

32 lines
324 B
Kotlin
Vendored

val test1: KFunction0<Unit>
field = A()::foo
get
val test2: KProperty0<Int>
field = A()::bar
get
val test3: KFunction0<Unit>
field = A()::qux
get
class A {
val bar: Int
field = 0
get
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
fun foo() {
}
}
fun A.qux() {
}