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
Shouldn't be able to make 'is rw' parameters optional or give them defaults in Rakudo #2262
Comments
From @masak<masak> blog post! |
From @masakOn Tue Nov 16 14:45:34 2010, masak wrote:
New spec change says this: Raku/old-design-docs@44511d7 Repurposing this ticket to be about that. $ perl6 -e 'sub foo($x? is rw) {}; foo(); say "alive"' Should die at compile time. |
@masak - Status changed from 'new' to 'open' |
From @jnthn
Now it does: ===SORRY!=== Tagging testneeded. /jnthn |
From @usev6On Fri Jan 13 04:54:34 2012, jnthn@jnthn.net wrote:
Still dies at compile time (as expected): $ perl6 -e 'sub foo($x? is rw) {}' $ perl6 -e 'sub foo($x is rw = 4) {}' I added two tests to S06-signature/optional.t with commit Raku/roast@1014935495 I'm closing this ticket now. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#79288 (status was 'resolved')
Searchable as RT79288$
The text was updated successfully, but these errors were encountered: