dmd: template.c:5540: Identifier* TemplateInstance::genIdent(Objects*): Assertion `global.errors' failed.
I hope someone will put this on bugzilla dmd loops endlessly on this code: import std.typecons; string bug(T..., U : tuple!T)(tuple!T t); dmd aborts on this code: import std.typecons; string bug(T, U : tuple!T)(tuple!T t); enum e = bug(tuple!int);
Re: dmd: template.c:5540: Identifier* TemplateInstance::genIdent(Objects*): Assertion `global.errors' failed.
On Mon, 23 Jul 2012 22:21:30 +0200 Lukasz wrzo...@gmail.com wrote: I hope someone will put this on bugzilla dmd loops endlessly on this code: import std.typecons; string bug(T..., U : tuple!T)(tuple!T t); dmd aborts on this code: import std.typecons; string bug(T, U : tuple!T)(tuple!T t); enum e = bug(tuple!int); You can put it there: http://d.puremagic.com/issues/
Re: dmd: template.c:5540: Identifier* TemplateInstance::genIdent(Objects*): Assertion `global.errors' failed.
On Monday, 23 July 2012 at 20:54:03 UTC, Nick Sabalausky wrote: On Mon, 23 Jul 2012 22:21:30 +0200 Lukasz wrzo...@gmail.com wrote: I hope someone will put this on bugzilla dmd loops endlessly on this code: import std.typecons; string bug(T..., U : tuple!T)(tuple!T t); dmd aborts on this code: import std.typecons; string bug(T, U : tuple!T)(tuple!T t); enum e = bug(tuple!int); You can put it there: http://d.puremagic.com/issues/ http://d.puremagic.com/issues/show_bug.cgi?id=8421