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)) ) ) )