http://d.puremagic.com/issues/show_bug.cgi?id=8421


Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |WORKSFORME


--- Comment #2 from Walter Bright <[email protected]> 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: -------

Reply via email to