[Issue 9927] Compiler tries to instantiate template even though a symbol conflict occurred
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Aug 29 07:36:30 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=9927
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #1 from hsteoh at quickfur.ath.cx ---
Still happens on git HEAD, but with a slightly different twist:
------
/usr/src/d/phobos/std/algorithm.d(8841): Error: function object.Object.opCmp
(Object o) is not callable using argument types (ulong)
/usr/src/d/phobos/std/algorithm.d(8845): Error: function object.Object.opCmp
(Object o) is not callable using argument types (ulong)
/usr/src/d/phobos/std/algorithm.d(8852): Error: template
std.range.popFrontExactly cannot deduce function from argument types !()(C[],
C), candidates are:
/usr/src/d/phobos/std/range.d(4149):
std.range.popFrontExactly(Range)(ref Range r, size_t n) if (isInputRange!Range)
/usr/src/d/phobos/std/algorithm.d(8853): Error: template
std.range.popFrontExactly cannot deduce function from argument types !()(C[],
C), candidates are:
/usr/src/d/phobos/std/range.d(4149):
std.range.popFrontExactly(Range)(ref Range r, size_t n) if (isInputRange!Range)
/usr/src/d/phobos/std/algorithm.d(8854): Error: cannot implicitly convert
expression (from) of type test.main.C to ulong
test.d(9): Error: template instance std.algorithm.remove!(cast(SwapStrategy)2,
C[], C) error instantiating
------
--
More information about the Digitalmars-d-bugs
mailing list