[FIR] Let prefix inc/dec call getter twice for compatibility with K1
#KT-57179 Fixed
This commit is contained in:
committed by
Space Team
parent
fea344faa4
commit
45d2424ad8
+1
-3
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE
|
||||
// FIR status: don't support legacy feature (prefix increment calls getter twice). fail 2: anone1
|
||||
var inc: String = ""
|
||||
|
||||
class X {
|
||||
@@ -25,4 +23,4 @@ fun box(): String {
|
||||
if (res != "aanone1none") return "fail 2: ${res}"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user