[Haxe3] cpp target Sys.println Critical Error Null Object Reference

32 views
Skip to first unread message

rorsach

unread,
Aug 2, 2013, 12:22:44 PM8/2/13
to haxe...@googlegroups.com
It seems that passing a null object to Sys.println causes a Critical Error and the app crashes.

E.g.:
    Sys.println(null);

Will cause a crash.

I'm wondering if there should be some kind of error checking to prevent a crash but rather print something sensible?

TopHattedCoder

unread,
Aug 3, 2013, 8:57:50 AM8/3/13
to haxe...@googlegroups.com
On what platform does it do this?

rorsach

unread,
Aug 4, 2013, 1:00:10 AM8/4/13
to haxe...@googlegroups.com
My bad:

    Platform: Windows 7 64 bit.

The executable I'm creating is a simple console app.
Reply all
Reply to author
Forward
0 new messages