Skip to content
Browse files

Fix thinko when roles did roles.

Seems this path never got exercised in NQP before.
  • Loading branch information...
1 parent 81cdc24 commit 84a13cbf1c201e80224450eec49891fc13eb49a0 @jnthn jnthn committed Oct 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/how/NQPParametricRoleHOW.pm
View
2 src/how/NQPParametricRoleHOW.pm
@@ -148,7 +148,7 @@ knowhow NQPParametricRoleHOW {
# Copy roles, instantiating them as we go.
for @!roles {
- my $specialized := $irole.HOW.specialize($irole, $class_arg);
+ my $specialized := $_.HOW.specialize($_, $class_arg);
$irole.HOW.add_role($irole, $specialized);
}

0 comments on commit 84a13cb

Please sign in to comment.
Something went wrong with that request. Please try again.