Skip to content
Permalink
Browse files

Make .perl of '(|)' signature a bit more idiomatic

  • Loading branch information...
lizmat committed Jun 16, 2018
1 parent b36f54b commit 24467ed6c093360f7e18cb45142ba8cb1dc63c1d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Parameter.pm6
@@ -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();

0 comments on commit 24467ed

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