Skip to content
Permalink
Browse files

Fix Baggy.pick(n).count-only

  • Loading branch information...
lizmat committed Sep 9, 2018
1 parent 53e82c9 commit b1c645ed193ba920ad79395d4e168c87ea9c6cd4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Baggy.pm6
@@ -529,7 +529,7 @@ my role Baggy does QuantHash {
($!todo := nqp::decont($todo))
)
}
method count-only() { $!todo - 1 }
method count-only(--> Int:D) { $!todo }
method sink-all() { $!todo := 0 }

}

0 comments on commit b1c645e

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