t; Subject: Re: OO subclassing, wrong method being called in hierarchy.
>
> >>>>> "Michael" == Michael Kraus <[EMAIL PROTECTED]> writes:
>
> Michael> The package names are actually section, dbh_section
> and checkout (rather
> Michael> t
> "Michael" == Michael Kraus <[EMAIL PROTECTED]> writes:
Michael> The package names are actually section, dbh_section and checkout
(rather
Michael> than A,B and C respectively).
Lowercase names are also reserved for pragmas. You should choose
names that begin with uppercase letters, and hav
> If those are the actual package names your using, then you
> are probably picking up the B package in the core...
No, they're not. (I didn't realise there was a B package already,
though!)
The package names are actually section, dbh_section and checkout (rather
than A,B and C respectively).
J
Michael Kraus wrote:
G'day...
I've got three classes in a hierarchy, i.e.:
Class A (Super class)
|
Class B (Subclasses A, Superclasses C)
|
Class C (Subclass)
I have a method (called "go") on both B and A. However, if it is called
on A die is called as it is designed to be overridden in subc
G'day...
I've got three classes in a hierarchy, i.e.:
Class A (Super class)
|
Class B (Subclasses A, Superclasses C)
|
Class C (Subclass)
I have a method (called "go") on both B and A. However, if it is called
on A die is called as it is designed to be overridden in subclasses of
A.
Whe