Array access expression.
This commit is contained in:
committed by
Dmitry Petrov
parent
54e6bbd007
commit
b3407de1e6
+5
@@ -0,0 +1,5 @@
|
||||
val p = 0
|
||||
fun foo() = 1
|
||||
|
||||
fun test(a: IntArray) =
|
||||
a[0] + a[p] + a[foo()]
|
||||
Reference in New Issue
Block a user