Is there rationale for...

Aarti_pl aarti at interia.pl
Wed Jan 9 02:12:14 PST 2008


IMHO below should be consistent:

void main() {
	alias int* pInt;
	
	new pInt; // works
	new (int*); // doesn't compile
}

I want to put it into bugzilla as a bug, if there is no reservation.

BR
Marcin Kuszczak
(aarti_pl)


More information about the Digitalmars-d-learn mailing list