Files
2024-02-16 10:19:38 +00:00

44 lines
477 B
Kotlin
Vendored

val qux: Int
field = 1
get
val test1: KClass<A>
field = A::class
get
val test2: KClass<out Int>
field = <get-qux>()::class
get
val test3: KFunction1<A, Unit>
field = A::foo
get
val test4: KFunction0<A>
field = A::<init>
get
val test5: KFunction0<Unit>
field = A()::foo
get
val test6: KFunction0<Unit>
field = ::bar
get
class A {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
fun foo() {
}
}
fun bar() {
}