logo       

Re: "inheritance" order in Perl proxies: msg#00157

programming.swig

Subject: Re: "inheritance" order in Perl proxies

Josh Cherry <jcherry@xxxxxxxxxxxxxxxx> writes:

> will probably expect to get Shape::Foo, but will get the global Foo
> instead. I can remedy this by switching the order of the "base classes":
>
> package example::Circle;
> @ISA = qw( example::Shape example );
>
> Is there a reason not do it this way?

Hi Josh,

Not that I can think of. It seems that the default behavior ought to
be most specific to least specific.

If you want to file this as a bug on SourceForge it can be handled and
not forgotten.

Cheers,
jas.
_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise