Generation of ++ and += fixed for platform types
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun box(): String {
|
||||
var x = 1
|
||||
(@foo x)++
|
||||
++(@foo x)
|
||||
(x: Int)++
|
||||
++(x: Int)
|
||||
|
||||
if (x != 5) return "Fail: $x"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user