Hi,
Given the following:
.namespace ['A']
.sub 'find_method' :vtable :method
say 'find_method!'
.end
.sub main :main
$P0 = newclass 'A'
$P1 = new 'A'
$P2 = find_method $P1, 'foo'
.end
the 'find_method' sub doesn't get invoked
Cheers,
Rich
> Given the following:
>
> .namespace ['A']
>
> .sub 'find_method' :vtable :method
> say 'find_method!'
> .end
>
> .sub main :main
> $P0 = newclass 'A'
> $P1 = new 'A'
> $P2 = find_method $P1, 'foo'
> .end
>
> the 'find_method' sub doesn't get invoked
Somehow we've fixed this between the time of the report and now. I added a
modified version of your example to t/pmc/namespace.t as a test in r18384,
though.
Thanks!
-- c