Fix JVM signatures involving multi-dimensional array types
Apparently ASM's Type#getElementType returns the type of the array even if it's multi-dimensional, so the loop was incorrect
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//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>>
|
||||
}
|
||||
Reference in New Issue
Block a user