Known bug, thanks.

 


From: [email protected] [mailto:[email protected]] On Behalf Of Matt Chotin
Sent: Thursday, March 30, 2006 6:47 PM
To: [email protected]
Subject: RE: [flexcoders] Flex 2 B2: @ operator resolving to local variables?

 

That seems odd, I’ll ask internally.

 


From: [email protected] [mailto:[email protected]] On Behalf Of Jason Y. Kwong
Sent: Thursday, March 30, 2006 11:24 AM
To: [email protected]
Subject: [flexcoders] Flex 2 B2: @ operator resolving to local variables?

 

I'm seeing some strangeness with the @ operator:

   var foo: String = "hello";
   @foo = "goodbye";
   trace(foo);   //Traces out "goodbye"

Why does "@foo" resolve to "foo"?  Is this expected behaviour?  If "foo" is a property and not a local variable, I get a compiler error (as expected).




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to