New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow named arguments to set positional parameters #105
Comments
From @diakopternamed argument key pair parsed as a Pair argument (incorrectly), and see http://dev.perl.org/perl6/doc/design/syn/S06.html#Named_arguments 13:23:15 <diakopter> rakudo: sub foo($w=4){say $w.perl}; foo 'w' => 3; |
From @pmichaudOn Sun, May 25, 2008 at 11:41:45AM -0700, diakopter wrote:
Rakudo has this correct.
Rakudo doesn't know how to coerce a Pair (or list of pairs)
This should output "3". Synopsis 6 allows positional parameters : Required parameters may optionally be declared with a trailing !, Yes, Rakudo gets this one wrong as well, but that's because
I suspect evalbot had an outdated version of Rakudo at the $ ./parrot perl6.pbc We need to either reject/close this ticket, or update the subject Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzWorks now after the resig2 merge, jnthn++. Also unfudged a lot of |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#54808 (status was 'resolved')
Searchable as RT54808$
The text was updated successfully, but these errors were encountered: