[Issue 752] Assertion failure: 'e->type->ty != Ttuple' on line 4518 in file 'mtype.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 29 19:43:53 PST 2006


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





------- Comment #2 from bugzilla at digitalmars.com  2006-12-29 21:43 -------
The statement:

        mixin .Tuple!((TList[1 .. $]))

is actually invalid, as it attempts to make a tuple of tuples. Instead,

        mixin .Tuple!(TList[1 .. $])

is correct. This is also wrong:

        Tuple!(int, long) T;
        T val;

as T is not declared as being a type.
The issue of length not being resolved is still a bug, though.


-- 



More information about the Digitalmars-d-bugs mailing list