Skip to content

Commit

Permalink
Need to lie about top of the Perl 6 object hierarchy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed May 6, 2009
1 parent c0480a5 commit 902f999
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parrot/ClassHOW.pir
Expand Up @@ -48,6 +48,8 @@ Gets a list of this class' parents.
result_list = get_hll_global 'Array'
result_list = result_list.'new'()
parrot_class = self.'get_parrotclass'(obj)
$S0 = parrot_class.'name'()
if $S0 == 'Perl6Object' goto it_loop_end # Fake top of Perl 6 hierarchy
parrot_list = inspect parrot_class, 'parents'
it = iter parrot_list
it_loop:
Expand Down

0 comments on commit 902f999

Please sign in to comment.