On Tue, Mar 17, 2009 at 09:19:55AM -0700, jn...@jnthn.net via RT wrote:
> On Wed Jul 16 01:47:29 2008, mor...@casella.verplant.org wrote:
> > State variables need to be implemented, the tests are already there in
> > S04-declarations/state.t
> > 
> > As a side node (and related to RT #56748), rakudo as of r29490 gives a
> > bogus error message when encountering a state declaration:
> > 
> > $ ../../parrot perl6.pbc -e 'sub foo { state $x }; 1'
> > Null PMC access in type()
> > 
> State variables are now implemented as of git cc85a31. :-) I'm now
> passing everything in state.t that I can by just implementing state
> variables (other failures are due to other missing features), so I think
> that's enough to resolve this ticket. :-)

Do you have list assignment working properly? ie:

    state (@foo) = @bar;

and, I think,

    state (@foo) = baz();

Nicholas Clark

Reply via email to