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:
@@ -129,7 +129,6 @@ abstract class KCallableContainerImpl {
|
||||
arrayDimension: Int = type.getArrayDimension()
|
||||
): Class<*> {
|
||||
if (arrayDimension > 0) {
|
||||
// TODO: test multi-dimensional arrays
|
||||
return loadJvmType(type, nameResolver, classLoader, arrayDimension - 1).createArrayType()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user