fix primitive types on fields

This commit is contained in:
Daniella / Tove 2022-04-25 04:44:37 +02:00
parent 0ba0a20b99
commit 9ef6c19237

View file

@ -977,7 +977,7 @@ public class ISBPL {
if(debug) if(debug)
System.err.println("Java Set: " + field); System.err.println("Java Set: " + field);
try { try {
field.set(stack.pop().object, fromISBPL(stack.pop())); field.set(stack.pop().object, fromISBPL(stack.pop(), field.getType()));
} }
catch (IllegalAccessException ignored) { catch (IllegalAccessException ignored) {
} }