You must have the most up-to-date version of Haxe, seriously, stop using 4.1.5, it misses some stuff. (I suggest 5.0.0 because thats what i use) ...