This works now without the comma: $ perl6-m -e 'sub a ( $a=1 --> Hash ) { say $a; my %h }; say a(2)' 2
^^ empty string here ;-) I added a test to S06-signature/defaults.t with the following commit: https://github.com/perl6/roast/commit/4485db4547
Christian Bartolomaeus via RT Wed, 15 Oct 2014 13:44:30 -0700
This works now without the comma: $ perl6-m -e 'sub a ( $a=1 --> Hash ) { say $a; my %h }; say a(2)' 2
^^ empty string here ;-) I added a test to S06-signature/defaults.t with the following commit: https://github.com/perl6/roast/commit/4485db4547