e6f4d6e6fa
^KT-65406
25 lines
319 B
Kotlin
Vendored
25 lines
319 B
Kotlin
Vendored
class C {
|
|
var x: Int
|
|
field = x
|
|
get
|
|
set
|
|
|
|
constructor(x: Int) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fun test(nc: C?) {
|
|
{ // BLOCK
|
|
val tmp_0: C? = nc
|
|
when {
|
|
EQEQ(arg0 = tmp_0, arg1 = null) -> null /*~> Unit */
|
|
else -> tmp_0.<set-x>(<set-?> = 42)
|
|
}
|
|
}
|
|
}
|
|
|