[Issue 6986] SortedRange[x..$] fails with unidentified __dollar

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 21 23:07:30 PST 2011


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



--- Comment #2 from Jerry Quinn <jlquinn at optonline.net> 2011-11-21 23:06:36 PST ---
I'd think the simplest solution would be to do the same rewrite that happens
for builtin arrays, i.e.

x[p..$] => x.opSlice(p, x.length)

Then no opDollar is needed.

-- 
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