yes, there are many cases where we do return as boolean
like this
return a<b;
while compiler expects
return a<b? true : false;
We have curred in F9, and we need clean up on F10 as well.
Fabrice
On Sep 28, 2009, at 2:45 PM, Rob Bateman wrote:
Hey delfeld
are you referring to the casting done in the utility Cast object? If
not, can you offer some information on where these cast warnings are
occuring? I'm not sure i've seen these...
cheers
Rob
On Wed, Sep 23, 2009 at 4:09 PM, delfeld <[email protected]> wrote:
Hello,
Flash does a warning check for Boolean casts. There are a number of
locations in Away3d that imply a cast to a Boolean, especially in
return statements. Can whoever is in charge of code these casts be
turned into explicit casts?
--
Rob Bateman
Flash Development & Consultancy
[email protected]
www.infiniteturtles.co.uk
www.away3d.com