KT-1550 Cannot use parenthesized array access expression.

This commit is contained in:
pTalanov
2012-03-13 23:08:48 +04:00
parent e30a22b778
commit f326359bfe
2 changed files with 49 additions and 19 deletions
@@ -0,0 +1,12 @@
package foo
import java.util.*
fun main(args : Array<String>)
{
val c = ArrayList<Int>()
c.add(3)
System.out?.println(++(c[0]))
System.out?.println((c[1])--)
System.out?.println(-(c[2]))
}