digitalmars.D.learn - Tuple unittests
- Ellery Newcomer (17/17) May 03 2010 lately I've been getting a lot of screwy error messages whenever I try
- Masahiro Nakagawa (5/22) May 04 2010 I once hit the same bug. SHOO has been reported this bug.
- Ellery Newcomer (3/8) May 04 2010 easy, remove the unittest from phobos :)
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 03 2010
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
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=4003thanks for the linkI don't know the solution to fix :(easy, remove the unittest from phobos :)
May 04 2010