[FIR] Capture receiver for pre/postfix dec/increment of qualified access
This prevents double-evaluation of the receiver expression, which may have side-effects. E.g.: a.b++
This commit is contained in:
committed by
Mikhail Glukhikh
parent
393189db8d
commit
f55ff8eb1b
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
var holder = ""
|
||||
var globalA: A = A(-1)
|
||||
get(): A {
|
||||
|
||||
Reference in New Issue
Block a user