Skip to content

Commit

Permalink
Standardize introspection interface implemented in the role meta-obje…
Browse files Browse the repository at this point in the history
…cts. Unregresses the roles.t breakage in the last commit.
  • Loading branch information
jnthn committed Apr 26, 2011
1 parent eafc258 commit cf88f9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/how/NQPConcreteRoleHOW.pm
Expand Up @@ -107,7 +107,7 @@ knowhow NQPConcreteRoleHOW {
## Introspecty
##

method methods($obj) {
method methods($obj, :$local) {
my @meths;
for %!methods {
@meths.push($_.value);
Expand All @@ -127,7 +127,7 @@ knowhow NQPConcreteRoleHOW {
$!name
}

method attributes($obj) {
method attributes($obj, :$local) {
my @attrs;
for %!attributes {
@attrs.push($_.value);
Expand Down
4 changes: 2 additions & 2 deletions src/how/NQPParametricRoleHOW.pm
Expand Up @@ -143,7 +143,7 @@ knowhow NQPParametricRoleHOW {
## Introspecty
##

method methods($obj) {
method methods($obj, :$local) {
my @meths;
for %!methods {
@meths.push($_.value);
Expand All @@ -159,7 +159,7 @@ knowhow NQPParametricRoleHOW {
$!name
}

method attributes($obj) {
method attributes($obj, :$local) {
my @attrs;
for %!attributes {
@attrs.push($_.value);
Expand Down

0 comments on commit cf88f9e

Please sign in to comment.