mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Apparently ASM's Type#getElementType returns the type of the array even if it's multi-dimensional, so the loop was incorrect
13 lines
194 B
Kotlin
13 lines
194 B
Kotlin
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
annotation class Anno(val s: String)
|
|
|
|
trait T {
|
|
Anno("foo")
|
|
fun foo(): Array<Array<Array<T>>>
|
|
|
|
Anno("bar")
|
|
val bar: Array<Array<BooleanArray>>
|
|
}
|