Patch rejected; the patch appears to eliminate "Perl6Scalar"
entirely from the 'is copy' semantics, this means we'd be without
an appropriate Scalar container for something like
sub foo($a is copy) { ... }
In general I think much of the signature handling in Rakudo needs
a significant refactor, so I'm a bit reluctant to apply small
tweaks until that happens.
Thanks!
Pm
> @@ -1089,8 +1090,7 @@ method signature($/) {
> ),
> PAST::Op.new(
> :inline(
> - ' %r = new "Perl6Scalar"',
> - ' %r."infix:="(%0)'
> + ' %r = clone %0'
> ),
> PAST::Var.new(
> :name($parameter.name()),