Skip to content
Permalink
Browse files

Make .values on object hashes return containers

Spotted while writing tests for hyper metaops
  • Loading branch information...
lizmat committed Nov 21, 2018
1 parent 0dc6efd commit a728bb2d9e7c3d470b76df2583c0e8e95118812b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Hash.pm6
@@ -631,7 +631,7 @@ my class Hash { # declared in BOOTSTRAP
method keys() { Seq.new(Keys.new(self)) }

my class Values does Rakudo::Iterator::Mappy {
method pull-one() {
method pull-one() is raw {
nqp::if(
$!iter,
nqp::getattr(nqp::iterval(nqp::shift($!iter)),

0 comments on commit a728bb2

Please sign in to comment.
You can’t perform that action at this time.