Fix deprecations in testData: arrayOf usages.

This commit is contained in:
Ilya Gorbunov
2015-09-11 17:31:06 +03:00
parent ae7cc8e430
commit e40a5457e3
36 changed files with 88 additions and 88 deletions
@@ -1,9 +1,9 @@
fun test(y: Array<in Array<String>>) {
y[0] = kotlin.array("OK")
y[0] = kotlin.arrayOf("OK")
}
fun box() : String {
val x : Array<Array<*>> = kotlin.array(kotlin.array(1))
val x : Array<Array<*>> = kotlin.arrayOf(kotlin.arrayOf(1))
test(x)
return x[0][0] as String
}