Fix incorrect usage of mapReturnType in param assertions
This commit is contained in:
@@ -491,7 +491,7 @@ public class AsmUtil {
|
||||
if (type == null || isNullableType(type)) continue;
|
||||
|
||||
int index = frameMap.getIndex(parameter);
|
||||
Type asmType = state.getTypeMapper().mapReturnType(type);
|
||||
Type asmType = state.getTypeMapper().mapType(type);
|
||||
if (asmType.getSort() == Type.OBJECT || asmType.getSort() == Type.ARRAY) {
|
||||
v.load(index, asmType);
|
||||
v.visitLdcInsn(parameter.getName().asString());
|
||||
|
||||
Reference in New Issue
Block a user