Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #46821] [RFC] should readonly be deep or shallow?

0 views
Skip to first unread message

Will Coleda via RT

unread,
Jun 16, 2008, 3:04:08 AM6/16/08
to perl6-i...@perl.org
On Wed Oct 24 13:52:33 2007, pcoch wrote:
> In t/src/ro.t there is the todo item:
>
> # XXX: should this work?
>
> and the related pir code:
>
> # three = 4 # should fail -- is that what we want
>
> The question is: is the behaviour encapsulated in the test actually what we
> want?

This test is in t/pmc/ro.t, not t/src/ro.t

The question can be summed up as: when marking a container PMC as readonly, should that
make all the PMCs that are contained readonly as well?

If so, we need to make that work (and add a test for at least a hash-style one as well), and if
not, we can reverse the sense of the todo test and enable it.

--
Will "Coke" Coleda

Christoph Otto

unread,
Oct 16, 2008, 6:27:51 AM10/16/08
to parrotbug...@parrotcode.org

I seem to remember a discussion where it was mentioned that marking a
container read-only should be shallow, but I couldn't find it in the irc logs.
Has a decision been made on this?

James Keenan via RT

unread,
May 10, 2009, 10:31:51 PM5/10/09
to parro...@lists.parrot.org, perl6-i...@perl.org
0 new messages