Skip to content

Commit

Permalink
Make .perl of '(|)' signature a bit more idiomatic
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 16, 2018
1 parent b36f54b commit 24467ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Parameter.pm6
Expand Up @@ -384,7 +384,7 @@ my class Parameter { # declared in BOOTSTRAP
if $!flags +& $SIG_ELEM_IS_RAW {
# Do not emit cases of anonymous '\' which we cannot reparse
# This is all due to unspace.
$rest ~= ' is raw' unless $name.starts-with('\\');
$rest ~= ' is raw' unless $name eq '|' or $name.starts-with('\\');
}
unless nqp::isnull($!sub_signature) {
my $sig = $!sub_signature.perl();
Expand Down

0 comments on commit 24467ed

Please sign in to comment.