On 4/18/07, Allison Randal <[EMAIL PROTECTED]> wrote:
Alek Storm wrote:
>
>> Again, the only part of :method that :vtable needs to imply is the
>> part that
>> sets the invocant in the proper register and makes 'self' available
>> within
>> the body of the method.
>
> So, that still means :method can mean two different things, depending
> on whether :vtable is present or not. That's still bad.
How so? Without :vtable, :method adds a method to the class. With
:vtable, :method adds a method to the class.
Without :vtable, :method adds a method to the class. With :vtable,
:method doesn't add a method to the class - it makes the sub visible.
Two completely different things.
--
Alek Storm