www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Strange phobos errors

reply Trass3r <un known.com> writes:
Currently I'm getting some strange phobos errors when trying to
compile my project:

C:\dmd\windows\bin\..\..\src\phobos\std\functional.d(177): Error:
static assert  "Bad binary function q{a == b}. You need to use a
valid D expression using symbols a of type dchar and b of type const
(char)[]."
C:\dmd\windows\bin\..\..\src\phobos\std\functional.d(180):
instantiated from here: Body!(dchar,const(char)[])
C:\dmd\windows\bin\..\..\src\phobos\std\algorithm.d(2149):
instantiated from here: result!(dchar,const(char)[])

The only phobos modules I directly use are std.string, std.traits and
std.stdio. Has anybody else encountered this? (dmd 2.051)
I already disabled unittests but this didn't help.

(my code is at http://bitbucket.org/trass3r/cl4d)
Jan 19 2011
parent Trass3r <un known.com> writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5373
Jan 19 2011