[Issue 8352] New: Wrong "__overloadset isn't a template" error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jul 6 05:20:27 PDT 2012
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 at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at 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: -------
More information about the Digitalmars-d-bugs
mailing list