32 lines
479 B
Kotlin
Vendored
32 lines
479 B
Kotlin
Vendored
class Context {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
fun foo(): Int {
|
|
return 1
|
|
}
|
|
|
|
}
|
|
|
|
class Test {
|
|
private /* final field */ val contextReceiverField0: Context
|
|
constructor($context_receiver_0: Context) /* primary */ {
|
|
super/*Any*/()
|
|
<this>.#contextReceiverField0 = $context_receiver_0
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
fun foo(): Int {
|
|
return 2
|
|
}
|
|
|
|
fun bar() {
|
|
val x: Int = <this>.#contextReceiverField0.foo()
|
|
}
|
|
|
|
}
|