Skip to content

Commit 84a13cb

Browse files
committed
Fix thinko when roles did roles.
Seems this path never got exercised in NQP before.
1 parent 81cdc24 commit 84a13cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/how/NQPParametricRoleHOW.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ knowhow NQPParametricRoleHOW {
148148

149149
# Copy roles, instantiating them as we go.
150150
for @!roles {
151-
my $specialized := $irole.HOW.specialize($irole, $class_arg);
151+
my $specialized := $_.HOW.specialize($_, $class_arg);
152152
$irole.HOW.add_role($irole, $specialized);
153153
}
154154

0 commit comments

Comments
 (0)