Skip to content

Commit

Permalink
Make .?, .+ and .* more likely to work with foreign objects, and also…
Browse files Browse the repository at this point in the history
… make them able to call methods that were mixed in.
  • Loading branch information
jnthn committed Apr 11, 2009
1 parent c95252e commit bb664df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/classes/Object.pir
Expand Up @@ -630,9 +630,7 @@ the basis of WALK also. It returns all methods we could possible call.
.local pmc p6meta, result_list, class, mro, it
$P0 = get_hll_global 'list'
result_list = $P0()
p6meta = get_hll_global ['Perl6Object'], '$!P6META'
class = self.'WHAT'()
class = p6meta.'get_parrotclass'(class)
class = typeof self
mro = inspect class, 'all_parents'
it = iter mro
mro_loop:
Expand Down

0 comments on commit bb664df

Please sign in to comment.