[haXe] NekoArray__.reverse()
Nicolas Cannasse
ncannasse at motion-twin.com
Fri Apr 21 14:40:08 CEST 2006
> hey,
>
> i think i found a bug in the haxe std library. i'm using CVS from a few days ago.
>
> The following code:
> var a = [ 1, 2, 3, 4, 5 ];
> trace( a.reverse().join(" ") );
>
> run with haxe's neko output, gives me:
> Test.hx:6: 5 1 3 2
Yes we found that one too and it has been fixed a few days ago.
The fix is the same you did : a l-1 was corrected as l-i which makes
more sense.
Anyway, thanks for reporting !
Nicolas
More information about the Haxe
mailing list