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

           Summary: Missing std.random import for std.algorithm.topN?
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2013-03-04 18:43:20 PST ---
import std.algorithm: topN;
void main() {
    auto a = [1, 2];
    topN(a, 1);
}



DMD 2.063alpha gives me:

C:\dmd2\src\phobos\std\algorithm.d(7939): Error: undefined identifier uniform
C:\dmd2\src\phobos\std\algorithm.d(7959): Warning: statement is not reachable
temp.d(4): Error: template instance std.algorithm.topN!("a < b",
cast(SwapStrategy)0, int[]) error instantiating

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

Reply via email to