Fix deprecations in testData: BlackBoxWithStdLibCodegenTest
This commit is contained in:
@@ -9,7 +9,7 @@ fun f(xs: Iterator<Int>): Int {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val list = arrayList(1, 2, 3)
|
||||
val list = arrayListOf(1, 2, 3)
|
||||
val result = f(list.iterator())
|
||||
return if (6 == result) "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user