Generation of ++ and += fixed for platform types

This commit is contained in:
Andrey Breslav
2014-10-21 18:38:08 +04:00
parent d28c96837e
commit 7ed7f020d3
24 changed files with 354 additions and 18 deletions
@@ -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"
}