Skip to content
Permalink
Browse files

Allow emitting Mu

I guess emitting Junctions as is is a good thing, so let the receiving
end handle the auto-threading.  Fixes #2223
  • Loading branch information...
lizmat committed Aug 29, 2018
1 parent d3cac14 commit 3f10e2d13634321f95079017e180755b3e3accda
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/control.pm6
@@ -156,7 +156,7 @@ sub samewith(|c) {

sub leave(|) { X::NYI.new(feature => 'leave').throw }

sub emit(\value --> Nil) {
sub emit(Mu \value --> Nil) {
THROW(nqp::const::CONTROL_EMIT, nqp::p6recont_ro(value));
}
sub done(--> Nil) {

0 comments on commit 3f10e2d

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