>FAIL!  Sub()->add_two(7) still returns 9.  And what's more, even if I
>try to add something with a name that doesn't exist in Base, I still
>can't access it outside of Sub.
>
>Is there a way around this?  I tried using `::->() as a fallback in
>`->(), but it didn't have the desired effect.

You probably want to use ::`->() with a second argument of 2 (cf
object.c:f_magic_index() and preceeding comments).
  • Met... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
      • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
        • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
          • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum

Reply via email to