is Expression, Type Identifier : TypeSpecialization

Trass3r un at known.com
Thu Jun 24 09:20:06 PDT 2010


You are right.

Even this doesn't work:

import std.stdio;

class one { }
class two : one {  }

void main()
{
	static if ( is(two T : one) )
		writeln("test");
}

Additionally it's really strange dmd doesn't complain about TWO and ONE if  
the aliases are omitted.
Seems like two distinct bugs to me.
File bug reports.


More information about the Digitalmars-d mailing list