From b9906ab10d229573eb059af64f4117c10099a243 Mon Sep 17 00:00:00 2001 From: usev6 Date: Fri, 30 Mar 2018 11:47:47 +0200 Subject: [PATCH] Add back a nqp::p6box_i() for grep :kv, too Fixes the second part of GH R#1671 (same fix as in 022954d74e). --- src/core/Any-iterable-methods.pm6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Any-iterable-methods.pm6 b/src/core/Any-iterable-methods.pm6 index f142d285590..f094602be72 100644 --- a/src/core/Any-iterable-methods.pm6 +++ b/src/core/Any-iterable-methods.pm6 @@ -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)) ) ) )