Tuple unittests
Ellery Newcomer
ellery-newcomer at utulsa.edu
Mon May 3 21:21:46 PDT 2010
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?
More information about the Digitalmars-d-learn
mailing list