Re: [perl #46821] [TODO] [Pir] Recursive calls on ResizablePMCArrays fail. Is this what we want?
[email protected] (chromatic) Thu, 19 Feb 2009 11:45:54 -0800
| Newsgroups | perl.perl6.internals |
|---|---|
| Organization | Snafu |
| Message-ID | <[email protected]> |
On Wednesday 24 October 2007 13:52:33 Paul Cochrane 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? The real question is "Should setting the read-only property on a ResizablePMCArray set the contained PMCs to read-only as well?" I can fix the test (answer "no") or I can fix the code (answer "yes"). I just can't tell you which behavior is most correct. -- c