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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 21 22:36:00 PST 2011


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

           Summary: SortedRange[x..$] fails with unidentified __dollar
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: jlquinn at optonline.net


--- Comment #0 from Jerry Quinn <jlquinn at optonline.net> 2011-11-21 22:35:06 PST ---
dmd 2.056 Linux x64

import std.range;
void foo(int[] buf) {
  auto bufsort = assumeSorted(buf);
  auto r = bufsort[1..$];
}

~/d/dmd2/linux/bin64/dmd -c range.d
range.d(5): Error: undefined identifier __dollar

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