Sam Ruby wrote:
[ PMC method inheritance ]
Patch attached.
Thanks, applied.
leo
Leopold Toetsch wrote:
Sam Ruby <[EMAIL PROTECTED]> wrote:
It still doesn't make sense to me. Try adding the following line to
both fixedpmcarray.pmc and perlint.pmc:
METHOD INTVAL inheritme() { return 42; }
Ok, that's exactly that part, which currently *is* broken. If you have
some time please
Sam Ruby <[EMAIL PROTECTED]> wrote:
> It still doesn't make sense to me. Try adding the following line to
> both fixedpmcarray.pmc and perlint.pmc:
>METHOD INTVAL inheritme() { return 42; }
Ok, that's exactly that part, which currently *is* broken. If you have
some time please read src/obje
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> There are two basic classes of methods here. (And classes of classes,
> something I'm regretting, and I think we'll redo once I get a handle
> on metaclasses and just unify it all)[1]
> The first is the vtable method stuff. There's a static single
> inher
Dan Sugalski wrote:
At 9:33 AM -0400 10/15/04, Sam Ruby wrote:
Leopold Toetsch wrote:
Sam Ruby <[EMAIL PROTECTED]> wrote:
Concrete example: should ResizablePMCArray inherit sort from
FixedPMCArray?
Yes. But the inheritance should be (and is AFAIK already partially) in
the method lookup. But it's n
At 9:33 AM -0400 10/15/04, Sam Ruby wrote:
Leopold Toetsch wrote:
Sam Ruby <[EMAIL PROTECTED]> wrote:
Concrete example: should ResizablePMCArray inherit sort from FixedPMCArray?
Yes. But the inheritance should be (and is AFAIK already partially) in
the method lookup. But it's not quite finished. Ob
Leopold Toetsch wrote:
Sam Ruby <[EMAIL PROTECTED]> wrote:
Concrete example: should ResizablePMCArray inherit sort from FixedPMCArray?
Yes. But the inheritance should be (and is AFAIK already partially) in
the method lookup. But it's not quite finished. Objects derived from
PMCs inherit methods of
Sam Ruby <[EMAIL PROTECTED]> wrote:
> I'm assuming the answer is yes, as classes defined via the subclass
> opcode seem to inherit non-vtable methods. In fact, I've made a number
> of assumptions, any of which could invalidate the attached patch.
I've applied the non-inheritance pieces of the pa
Sam Ruby <[EMAIL PROTECTED]> wrote:
> Concrete example: should ResizablePMCArray inherit sort from FixedPMCArray?
Yes. But the inheritance should be (and is AFAIK already partially) in
the method lookup. But it's not quite finished. Objects derived from
PMCs inherit methods of the parent, but one
# New Ticket Created by Sam Ruby
# Please include the string: [perl #31987]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=31987 >
Concrete example: should ResizablePMCArray inherit sort from FixedPMCArray?
I'm assuming
10 matches
Mail list logo