www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dmd: template.c:5540: Identifier*

reply "Lukasz" <wrzoski gmail.com> writes:
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);
Jul 23 2012
next sibling parent Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On Mon, 23 Jul 2012 22:21:30 +0200
"Lukasz" <wrzoski 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/
Jul 23 2012
prev sibling parent "Lukasz" <wrzoski gmail.com> writes:
On Monday, 23 July 2012 at 20:54:03 UTC, Nick Sabalausky wrote:
 On Mon, 23 Jul 2012 22:21:30 +0200
 "Lukasz" <wrzoski 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
Jul 23 2012