mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
It prevents reporting unsafe substitution warning on expressions
like 'arrayOf(arrayOf(""))'
6 lines
113 B
Kotlin
Vendored
6 lines
113 B
Kotlin
Vendored
// !CHECK_TYPE
|
|
|
|
fun test() {
|
|
val array = arrayOf(arrayOf(1))
|
|
array checkType { _<Array<Array<Int>>>() }
|
|
} |