Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/varargs/kt3213.kt
T
2015-04-29 16:33:24 +02:00

7 lines
112 B
Kotlin
Vendored

// !CHECK_TYPE
fun test(a: Array<out String>) {
val b = a.toList()
b checkType { _<List<String>>() }
}