[nem-en] Inheritance
Vladimir Reshetnikov
v.reshetnikov at gmail.com
Mon Feb 12 15:04:34 CET 2007
This document (http://nemerle.org/Grok_Object_oriented_programming#Inheritance)
says that "Static methods and the constructor are not derived."
But
[nemerle]
class A {
public static Foo() : void {}
}
class B : A { }
B.Foo() // Works
[/nemerle]
So, what is the intended behavior?
Are static members inherited by derived classes? (In C#, they are)
Are nested types inherited by derived classes? (In C#, they are)
More information about the devel-en
mailing list