Some cleanup

This commit is contained in:
NeeEoo
2024-04-25 17:38:25 +02:00
parent fb8f35e2a5
commit d38ddbb2b4
7 changed files with 73 additions and 42 deletions
+1 -1
View File
@@ -818,7 +818,7 @@ class Interp {
var t = b2i(isKeyString) + b2i(isKeyInt) + b2i(isKeyObject) + b2i(isKeyEnum);
if(t != 1)
error(ECustom("Unknown Map Type"));
error(EPreset(UNKNOWN_MAP_TYPE_RUNTIME));
else if(isKeyInt) type = IntMap;
else if(isKeyString) type = StringMap;
else if(isKeyEnum) type = EnumMap;