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
ignoring named arguments if there is an optional positional argument missing #102
Comments
From @diakopterrakudo is currently ignoring named arguments if there is an optional 17:06 rakudo: sub foo($x?, :$y = 2){ say "$x" |
From @pmichaudOn Sun, May 25, 2008 at 10:31:41AM -0700, diakopter wrote:
This is a syntax error that rakudo doesn't happen to catch yet.
This looks correct to me.
This also looks correct.
"Can't use optional positional parameter in variadic zone"
This appears to be a bug in Parrot (now RT#54860). When that's fixed Pm |
The RT System itself - Status changed from 'new' to 'open' |
From julian.notfound@gmail.com
RT#54860 is fixed, verified: rakudo: sub foo($x?, :$y = 2){ say "$x" |
@masak - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#54800 (status was 'resolved')
Searchable as RT54800$
The text was updated successfully, but these errors were encountered: