mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 16:35:34 +00:00
Fix tests
This commit is contained in:
@@ -174,7 +174,12 @@ public class CallAVM2Item extends AVM2Item {
|
||||
if (i >= arguments.size()) {
|
||||
break;
|
||||
}
|
||||
TypeItem type = new TypeItem(abc.constants.getMultiname(mi.param_types[i]).getNameWithNamespace(abc.constants, true /*??*/));
|
||||
GraphTargetItem type;
|
||||
if (mi.param_types[i] == 0) {
|
||||
type = TypeItem.UNBOUNDED;
|
||||
} else {
|
||||
type = new TypeItem(abc.constants.getMultiname(mi.param_types[i]).getNameWithNamespace(abc.constants, true /*??*/));
|
||||
}
|
||||
arguments.set(i, AVM2SourceGenerator.handleAndOrCoerce(arguments.get(i), type));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user