Skip to content
Permalink
Browse files

Make Supply.emit also take Mu

  • Loading branch information...
lizmat committed Aug 29, 2018
1 parent 3f10e2d commit db3768e3561c73d25aa4c4f0dd986d6a2013368f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Supply.pm6
@@ -1557,7 +1557,7 @@ my class Supplier {
$t
}

method emit(\value --> Nil) {
method emit(Mu \value --> Nil) {
nqp::if(
nqp::isconcrete(my $snapshot := $!tappers)
&& (my int $n = nqp::elems($snapshot)),

0 comments on commit db3768e

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