What happened to the alias this = identifier syntax in 2.062?

Martin martinbbjerregaard at gmail.com
Fri Feb 22 06:51:54 PST 2013


struct Test
{
	int i;
	alias this = i;
}

Worked fine in 2.061 but in 2.062 I get the errors
"Error: no identifier for declarator this" and "Error: alias 
cannot have initializer".

Was something changed intentionally or is this a bug?


More information about the Digitalmars-d mailing list