Files
kotlin-fork/compiler/testData/ir/irText/firProblems/V8ArrayToList.kt.txt
T
2021-01-22 13:51:25 +03:00

16 lines
245 B
Plaintext
Vendored

class V8Array {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
fun box(): String {
val array: V8Array = V8Array()
val list: List<String> = toList(array = array) as List<String>
return list.get(index = 0)
}