COMMUNITY

Trace( 01 ); // fails

Hej all !

I’ve never noticed that but Haxe compiler fails on that, is it normal please ?

https://try.haxe.org/#6f35f

Yes, leading zeroes are not allowed. This avoids some potential confusion, because in some languages a leading zero makes it an octal literal, which Haxe does not support.

2 Likes