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

           Summary: Wrong "__overloadset isn't a template" error
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic, rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2012-07-06 05:20:25 PDT ---
This program compiles (dmd 2.060alpha):


import std.algorithm;
void main() {
    [1, 2].remove!(x => x == 2)();
}




While this one:


import std.stdio, std.algorithm;
void main() {
    [1, 2].remove!(x => x == 2)();
}



Gives:

test.d(3): Error: __overloadset isn't a template

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

Reply via email to