Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Implement the non-local case of .^parents in NQPClassHOW, which retur…
…ns the MRO.
  • Loading branch information
jnthn committed Jan 22, 2011
1 parent 1307e73 commit 2dcffea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metamodel/how/NQPClassHOW.pm
Expand Up @@ -286,8 +286,8 @@ knowhow NQPClassHOW {
## Introspecty
##

method parents($obj, :$local!) {
@!parents
method parents($obj, :$local) {
$local ?? @!parents !! @!mro
}

method roles($obj, :$local!) {
Expand Down

0 comments on commit 2dcffea

Please sign in to comment.