Thread overview | |||||
---|---|---|---|---|---|
|
May 04, 2010 Tuple unittests | ||||
---|---|---|---|---|
| ||||
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? |
May 04, 2010 Re: Tuple unittests | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | On Tue, 04 May 2010 13:21:46 +0900, Ellery Newcomer <ellery-newcomer@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 :( |
May 04, 2010 Re: Tuple unittests | ||||
---|---|---|---|---|
| ||||
Posted in reply to Masahiro Nakagawa | On 05/04/2010 09:07 AM, Masahiro Nakagawa wrote: > > I once hit the same bug. SHOO has been reported this bug. http://d.puremagic.com/issues/show_bug.cgi?id=4003 > thanks for the link > I don't know the solution to fix :( easy, remove the unittest from phobos :) |
Copyright © 1999-2021 by the D Language Foundation