Skip to content

Commit

Permalink
Add back a nqp::p6box_i() for grep :kv, too
Browse files Browse the repository at this point in the history
Fixes the second part of GH R#1671 (same fix as in 022954d).
  • Loading branch information
usev6 committed Mar 30, 2018
1 parent 022954d commit b9906ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Any-iterable-methods.pm6
Expand Up @@ -854,7 +854,7 @@ Did you mean to add a stub (\{...\}) or did you mean to .classify?"
IterationEnd,
nqp::stmts(
($!value := $_),
($!index = nqp::add_i($!index,1))
nqp::p6box_i($!index = nqp::add_i($!index,1))
)
)
)
Expand Down

0 comments on commit b9906ab

Please sign in to comment.