Newsgroups: perl.perl6.internals
From: d...@sidhe.org (Dan Sugalski)
Date: Fri, 13 Feb 2004 11:38:07 -0500
Local: Fri, Feb 13 2004 11:38 am
Subject: Rules for method resolution?
So, as I dive into PDD15 as promised and get objects spec'd out so
they can finally be implemented, I've come across the problem of method resolution. We've got, or will have, two ways to invoke methods. The first is a simple: callmethod "methodname" which calls the named method on the object in the object slot, does callmethod Pobject, "methodname" which'll move the object to the object slot. Or not. But that's We also have to have a way to fetch the method PMC for a named method This is required for a number of reasons, including Python, so we findmethod P4, Pobject, "methodname" does the method PMC that gets stuck in P4 represent the method This has some implications for when methods are overridden and --------------------------------------"it's like this"------------------- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||