Skip to content

Commit

Permalink
Do not thread note
Browse files Browse the repository at this point in the history
Since `say` shall not[^1] thread and `note` is just a `say`
that outputs to STDERR instead of STDOUT, it shan't thread
either for the same reasons (Junction.gist is a string, and
so `say` should just output that string instead of special-casing
anything)

[1] https://irclog.perlgeek.de/perl6-dev/2018-02-27#i_15864766
  • Loading branch information
zoffixznet committed Mar 13, 2018
1 parent 7b2de29 commit 355b2eb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/io_operators.pm6
Expand Up @@ -46,9 +46,6 @@ multi sub note() {
my $err := $*ERR;
$err.print(nqp::concat("Noted",$err.nl-out));
}
multi sub note(Junction:D \j) {
j.THREAD(&note)
}
multi sub note(**@args is raw) {
my $err := $*ERR;
my str $str;
Expand Down

0 comments on commit 355b2eb

Please sign in to comment.