[haXe] Bug in cast() implementation when compiling for Flash
9?
Nicolas Cannasse
ncannasse at motion-twin.com
Mon Nov 6 14:46:21 CET 2006
> Hi list,
>
> I have been trying to track down some slightly inexplicable bugs when
> compiling for Flash 9, and it seems that the culprit is haXe
> generating code for cast() that can only be used in fairly restrictive
> contexts:
[...]
> Is this behaviour intentional? Can the error message be made more
> informative if it is? :)
Uhm, yes this could be improved, I see exactly why this is happening,
and something should be done to fix that. You'll have to try living with
it right now, by casting to local variable first.
Nicolas
More information about the Haxe
mailing list