43 lines
472 B
Plaintext
Vendored
43 lines
472 B
Plaintext
Vendored
class A {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
fun foo() {
|
|
}
|
|
|
|
}
|
|
|
|
fun bar() {
|
|
}
|
|
|
|
val qux: Int
|
|
field = 1
|
|
get
|
|
|
|
val test1: KClass<A>
|
|
field = A::class
|
|
get
|
|
|
|
val test2: KClass<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
|