Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/cast/IsArray.fir.kt
T

5 lines
142 B
Kotlin
Vendored

fun f(a: Array<out Number>) = a.isArrayOf<Int>()
fun f1(a: Array<out Number>) = a is Array<*>
fun f2(a: Array<out Number>) = a is Array<Int>