On Thu Aug 27 09:22:02 2015, masak wrote:
> <masak> [Coke]: no.
> <masak> [Coke]: I think you misunderstood the goal of the ticket.
> <masak> [Coke]: the spec said (and still *says*, I think) that the
> *contents* of the array parameter are readonly. that's what the "one
> level down" thing refers to.
> <masak> [Coke]: However, the default forces any container argument to
> also
> <masak> be treated as an immutable value.  This extends down only one
> level;
> <masak> an immutable container may always return an element that is
> mutable if
> <masak> it so chooses.
> <masak> S06:718
> <synbot6> Link: http://design.perl6.org/S06.html#line_718
> * masak adds this to the ticket

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.

Reply via email to