[Issue 586] Cannot index tuple with non-type elements
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 8 17:20:38 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=586
------- Comment #2 from reiner.pope at gmail.com 2007-04-08 19:20 -------
This is even true for the perhaps simpler version, with a pure expression
tuple:
int F;
template A(T...)
{
alias T[0] B; // Fails here
}
alias A!(F) C;
aliases.d(5): tuple T is used as a type
aliases.d(8): template instance aliases.A!(F) error instantiating
--
More information about the Digitalmars-d-bugs
mailing list