Files
kotlin-fork/compiler/testData/ir/irText/firProblems/v8arrayToList.fir.kt.txt
T
2020-11-26 00:15:13 +03:00

15 lines
244 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)
}