http://d.puremagic.com/issues/show_bug.cgi?id=6235



--- Comment #3 from Don <clugd...@yahoo.com.au> 2011-07-03 13:41:49 PDT ---
(In reply to comment #2)
> Using $ seems to be adding the declaration to the struct as a field.
> Is there any reason $ is always a variable, not just re-written as
> exp[... $ ... ] => exp[... exp.length ...] ?

I think it's because exp may have side effects, so it should only be evaluated
once.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to