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
Rakudo allows assignment to elements of a readonly array... except when it doesn't #1745
Comments
From @masak<masak> rakudo: sub foo(@a) { @a[1] = "NOES" }; my @a = <OH HAI>; |
From @cokeOn Tue May 04 14:13:17 2010, masak wrote:
Behavior changed:
-- |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Sat Oct 20 18:12:38 2012, coke wrote:
These are now the same (both in nom and glr, even) 12:10 < [Coke]> m: sub foo(@a) { @a[1] = "NOES" }; my @a = <OH HAI>; foo(@a); say ~@a Closable with tests? |
From @masak<masak> [Coke]: no. |
From @jnthnOn Thu Aug 27 09:22:02 2015, masak wrote:
Resolution: not this Christmas. Short discussion: http://irclog.perlgeek.de/perl6/2015-12-16#i_11729677 In my view, the best hope of doing this is probably through some static analysis, which we can introduce conditional on language version, so it'd be opt in by language version and we'd be able to not break existing code that didn't opt in to using that version. For the meantime, the ticket survives, but is off the xmas list. |
This still a problem, far as I can tell. |
Given jnthn++'s verdict above, I think this issue is now a feature request, not a bug report. |
Migrated from rt.perl.org#74902 (status was 'open')
Searchable as RT74902$
The text was updated successfully, but these errors were encountered: