[Issue 3470] [tdpl]: .length should not pop up inside indexing	expressions.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Nov  3 05:15:38 PST 2009
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=3470
Andrei Alexandrescu <andrei at metalanguage.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at metalanguage.com
--- Comment #2 from Andrei Alexandrescu <andrei at metalanguage.com> 2009-11-03 05:15:37 PST ---
Great work, Don! Since you're there and the code is fresh in your mind, I
suggest you operate these two additional changes that were discussed in the
newsgroup several times:
a) In single-argument index and slice expressions, rewrite $ to __a.length,
where __a is the already-evaluated array being indexed/sliced.
b) In multi-argument index and slice expressions, rewrite $ to __a.lengths!(n),
where n is the compile-time argument position where $ appears.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list