Skip to content

Commit

Permalink
Just rely on code thingies stringifying sanely; means Parrot subs jus…
Browse files Browse the repository at this point in the history
…t work in the role composer too.
  • Loading branch information
jnthn committed Feb 25, 2010
1 parent 7ce3765 commit 6ffe11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metamodel/RoleToClassApplier.nqp
Expand Up @@ -24,7 +24,7 @@ class Perl6::Metamodel::RoleToClassApplier;
sub has_method($target, $name, $local) {
my @methods := $target.HOW.methods($target, :local($local));
for @methods {
if $_.name eq $name { return 1; }
if $_ eq $name { return 1; }
}
return 0;
}
Expand Down

0 comments on commit 6ffe11a

Please sign in to comment.