www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8352] New: Wrong "__overloadset isn't a template" error

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc


--- Comment #0 from bearophile_hugs 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: -------
Jul 06 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8352


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com
           See Also|                            |http://d.puremagic.com/issu
                   |                            |es/show_bug.cgi?id=6539


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-01-13
10:41:07 PST ---
Similar (maybe even caused by the same thing) Issue 6539.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8352



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-02-09
05:46:12 PST ---
*** Issue 9487 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 09 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8352


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
           Platform|x86                         |All
         OS/Version|Windows                     |All


--- Comment #3 from Kenji Hara <k.hara.pg gmail.com> 2013-02-14 08:06:25 PST ---
https://github.com/D-Programming-Language/dmd/pull/1660

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