[Issue 8421] ICE template.c:5540: Identifier* TemplateInstance::genIdent(Objects*): Assertion `global.errors' failed.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 6 23:33:00 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8421
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution| |WORKSFORME
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2013-10-06 23:32:59 PDT ---
(In reply to comment #1)
> dmd loops endlessly on this code:
> ----------------
> import std.typecons;
> string bug(T..., U : tuple!T)(tuple!T t);
Produces the message:
test.d(2): Error: template test.bug(T..., U : tuple!T)(tuple!T t) template
tuple parameter must be last one
> dmd aborts on this code:
> ----------------
> import std.typecons;
> string bug(T, U : tuple!T)(tuple!T t);
> enum e = bug(tuple!int);
Produces the message:
test.d(3): Error: tuple (int _param_0) is not callable using argument types ()
This is with dmd 2.064 head.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list