https://d.puremagic.com/issues/show_bug.cgi?id=12449

           Summary: Undefined format in std.algorithm.max
           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] 2014-03-24 05:30:25 PDT ---
Localizing imports causes some troubles:


void main() {
    import std.algorithm: max;
    struct Foo {}
    max(Foo(), Foo());
}


dmd 2.066alpha:

...\dmd2\src\phobos\std\algorithm.d(7136,13): Error: undefined identifier
format
...\dmd2\src\phobos\std\algorithm.d(7135,9): Error: static assert  __error
test.d(4,8):        instantiated from here: max!(Foo, Foo)

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

Reply via email to