Accessing shadowed members of parent scope
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=898
Reported by @marcus
In the following snipped of code
class Node { static int get_property_A() { ... } }
class XNode {
inherit Node;
class YNode {
inherit Node;
static int get_property_A() {
return ???::get_property_A() + 1;
}
}
}
there doesn't seem to be anyway to get YNode->get_property_A() to call the XNode->get_property_A() of its parent object, i.e. there is nothing to write at the "???" to make this program work. A rectification of this situation would be much appreciated.