Am Sonntag, 12. November 2006 16:54 schrieb Patrick R.Michaud:
> If a METHOD is defined in a *.pmc file, that METHOD is not
> automatically inherited by PIR-based subclasses.

This isn't quite true. But some METHODs / vtables / MMDs are implemented in a 
way that doesn't cope with inheritance.

See also:
#39329: Check to make sure PMC_str_val, etc. are used appropriately

or: 
src/pmc/integer.pmc:
...
    PMC* add (PMC* value, PMC* dest) {
MMD_Integer: {
            /*
             * SELF and value can both be PMCs that inherit
             * from Integer:
             *   cl = subclass "Integer", "MyInt"
             * so we can't used PMC_int_val(SELF) in any of these
             * Integer methods

leo

Reply via email to