Using call for set on an indexed expression in lvalue position

This commit is contained in:
Andrey Breslav
2013-12-03 18:08:51 +04:00
parent a5854560f0
commit 28acbcb219
5 changed files with 46 additions and 8 deletions
@@ -0,0 +1,3 @@
fun foo(a: Array<Int>) {
a[0] += 1
}