fix: output unknown invoke-custom as polymorphic call (#1760)

This commit is contained in:
Skylot
2023-02-11 15:03:15 +00:00
parent f354f7de63
commit 85c2c63aa3
14 changed files with 541 additions and 48 deletions
@@ -53,12 +53,12 @@ public class EncodedValue extends PinnedAttribute {
switch (type) {
case ENCODED_NULL:
return "null";
case ENCODED_STRING:
return (String) value;
case ENCODED_ARRAY:
return "[" + value + "]";
case ENCODED_STRING:
return "{STRING: \"" + value + "\"}";
default:
return "{" + type + ": " + value + '}';
return "{" + type.toString().substring(8) + ": " + value + '}';
}
}
}