Tuple unittests
Masahiro Nakagawa
repeatedly at gmail.com
Tue May 4 07:07:18 PDT 2010
On Tue, 04 May 2010 13:21:46 +0900, Ellery Newcomer
<ellery-newcomer at utulsa.edu> wrote:
> lately I've been getting a lot of screwy error messages whenever I try
> to compile with -unittest:
>
> /home/ellery/Downloads/dmd2044/linux/bin/../../src/phobos/std/typecons.d(425):
> Error: static assert (is(Tuple!(string,float) == Tuple!(string,float)))
> is false
> /home/ellery/Downloads/dmd2044/linux/bin/../../src/phobos/std/typecons.d(413):
> instantiated from here: Tuple!(string,float)
> /home/ellery/Downloads/dmd2044/linux/bin/../../src/phobos/std/typecons.d(424):
> instantiated from here: slice!(1,3)
> /home/ellery/Downloads/dmd2044/linux/bin/../../src/phobos/std/typecons.d(421):
> instantiated from here: Tuple!(int,string,float,double)
> src/dxl/util/Blit.d(554): instantiated from here:
> Tuple!(int,"i",int,"j")
>
> Actually, it's just this one.
>
> I haven't tried working it down to something small, but I have noted
> that the order in which I send files to dmd affects whether this happens.
>
> any ideas why this is happening?
I once hit the same bug. SHOO has been reported this bug.
http://d.puremagic.com/issues/show_bug.cgi?id=4003
I don't know the solution to fix :(
More information about the Digitalmars-d-learn
mailing list