1e0d9f4075
For smart casts, elvises, etc., there are no implicit casts in psi2fir in changed test data
24 lines
357 B
Plaintext
Vendored
24 lines
357 B
Plaintext
Vendored
class C {
|
|
constructor(x: Int) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
var x: Int
|
|
field = x
|
|
get
|
|
set
|
|
|
|
}
|
|
|
|
fun test(nc: C?) {
|
|
{ // BLOCK
|
|
val tmp0_safe_receiver: C? = nc
|
|
when {
|
|
EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null
|
|
else -> tmp0_safe_receiver.<set-x>(<set-?> = 42)
|
|
}
|
|
} /*~> Unit */
|
|
}
|