hxcpp
hxcpp copied to clipboard
Sys.println(null) causes a segmentation fault
As said in the title, trying to do Sys.println(null) results in a segmentation fault. From having a look through the code, it seems that from Dynamic it goes straight to hx::String, which is able to have the value null. However. after that there is no check whether the string is null before trying to print it out.
This issue might be somewhat relevant: https://github.com/HaxeFoundation/haxe/issues/9588
EDIT: This is does not seem to be an issue on Windows.