[Issue 8750] ICE when using any and all as a template condition

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Aug 9 21:44:04 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=8750

hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx

--- Comment #2 from hsteoh at quickfur.ath.cx ---
On dmd git HEAD (2.067a), this code no longer causes an ICE, but there's a
compile error:

test.d(8): Error: template std.algorithm.all cannot deduce function from
argument types !((x) => any!((y) => x == y)(R))(string), candidates are:
/usr/src/d/phobos/std/algorithm.d(11584):        std.algorithm.all(alias pred =
"a")

--


More information about the Digitalmars-d-bugs mailing list