Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct iterator usage (sync from NQP repo).
  • Loading branch information
jnthn committed Apr 14, 2013
1 parent 9b6b90e commit 21ed389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nqp-src/QRegex.nqp
Expand Up @@ -770,7 +770,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 21ed389

Please sign in to comment.