[nem-en] Virtual constructor ?
Michal Moskal
michal.moskal at gmail.com
Sat Sep 30 16:10:24 CEST 2006
On 9/30/06, Andrei Varanovich <dotnetby at gmail.com> wrote:
> 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--
It's a missing check in the compiler. Please submit a bug report (or
better yet: a patch :-).
--
Michał
More information about the devel-en
mailing list