Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct iterator usage.
  • Loading branch information
jnthn committed Apr 14, 2013
1 parent cee4c7e commit 50ce474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRegex/Cursor.nqp
Expand Up @@ -324,7 +324,7 @@ role NQPCursorRole is export {
sub precomp_alt_nfas($meth) {
if nqp::can($meth, 'ALT_NFAS') {
for $meth.ALT_NFAS -> $name {
self.HOW.cache(self, $name, { self.'!alt_nfa'($meth, $name) });
self.HOW.cache(self, $name, { self.'!alt_nfa'($meth, $name.key) });
}
}
}
Expand Down

0 comments on commit 50ce474

Please sign in to comment.