Improve object arrays support. (#182)

Also fix the way how symbol names are being generated. Before arrays2.kt was not linking.
This commit is contained in:
Nikolay Igotti
2017-01-16 12:22:27 +03:00
committed by GitHub
parent 3b4c25988e
commit 90577d440a
10 changed files with 133 additions and 14 deletions
@@ -0,0 +1,7 @@
fun main(args : Array<String>) {
val byteArray = Array<Byte>(5, { i -> (i * 2).toByte() })
byteArray.map { println(it) }
val intArray = Array<Int>(5, { i -> i * 4 })
println(intArray.sum())
}