SQFvm / runtime

Custom implementation of the Arma script language SQF
GNU Lesser General Public License v3.0
96 stars 30 forks source link

[BUG] Null config causes fatal error on config commands #178

Closed PabstMirror closed 3 years ago

PabstMirror commented 3 years ago

Describe the bug Null config causes fatal error on config commands (isClass, isText, getNumber ...)

To Reproduce Steps to reproduce the behavior: .\sqfvm.exe --automated --sqf "isClass configNull;"

Executing...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[ERR] [L1|C0|__commandline]     Provided value is null.
[FAT] [L1|C0|__commandline]     Stacktrace:<  1 of 1> [L1|C0|__commandline]     [missionNamespace] [SCOPENAME-EMPTY]
isClass configNull;
^^^^^^^

Expected behavior

X39 commented 3 years ago

Is the expected behavior cross-checked with arma?

PabstMirror commented 3 years ago

image