[Issue 751] New: Compiler segfault on template expansion
Sean Kelly
sean at f4.ca
Tue Dec 26 14:23:38 PST 2006
d-bugmail at puremagic.com wrote:
>
> void main()
> {
> TypeTuple!(int, long) T;
> printf( "%u\n", IndexOf!(long, T) );
> }
>
> Which does not compile:
>
> C:\code\src\d\test>dmd test
> test.d(13): tuple TList is used as a type
Just a quick note. This error (and perhaps some of the others) is
because the TypeTuple declaration above doesn't contain an 'alias'
prefix. The crash demonstrated in the second example is sitll a
problem, however.
More information about the Digitalmars-d-bugs
mailing list