[nem-en] Virtual constructor ?

Andrei Varanovich dotnetby at gmail.com
Sat Sep 30 15:47:55 CEST 2006


Hi all,

AFAIK, Nemerle doesn't support virtual constructors, right?

But the following piece of code is compiled:

--code--
class Foo
{
	_x : int;
	public virtual this(x : int)
	{
		_x = x;	
	}	
}
--end code--

Thank you,
Andrei

 




More information about the devel-en mailing list