[nem-en] Abstract overrides

Vladimir Reshetnikov v.reshetnikov at gmail.com
Sun Feb 11 19:15:38 CET 2007


Why Nemerle does not allow to declare abstract overrides?

class Base {
    public virtual Foo() : void {}
}

abstract class Derived : Base {	
    public abstract override Foo() : void; /* abstract methods are not
allowed to have the 'override' modifier */
}

In C#, it is OK.



More information about the devel-en mailing list