On Mon Sep 19 20:34:36 2011, coke wrote:
> On Mon Feb 15 00:53:39 2010, masak wrote:
> > <masak> rakudo: my $*x = 42; say $*x.WHAT
> > <p6eval> rakudo 70667a: OUTPUT«Int()␤»
> > <masak> rakudo: $*x = 42; say $*x.WHAT
> > <p6eval> rakudo 70667a: OUTPUT«Cannot assign to readonly
> value␤current
> > instr. '&infix:<=>' pc 15648 (src/builtins/Junction.pir:169)␤»
> > * masak submits rakudobug
> > <masak> rakudo: $*x = 42
> > <p6eval> rakudo 70667a: OUTPUT«Cannot assign to readonly
> value␤current
> > instr.: '&infix:<=>' pc 15648 (src/builtins/Junction.pir:169)␤»
> >
> > I'm not sure dynamic variables can be assigned to without first
> being
> > initialized. I skimmed S02 but didn't find anything mentioning it.
> > Anyway, either you can and the error shouldn't be there, or you
> can't
> > and the error is less than awesome.
> 
> Now says:
> 
> 23:34 < [Coke]> rakudo: $*x = 42; say $*x.WHAT
> 23:34 <+p6eval> rakudo cbdd9b: OUTPUT«Cannot assign to a non-
> container␤  in <anon>
>                 at /tmp/meGTbjLflb:1␤  in <anon> at
> /tmp/meGTbjLflb:1␤␤»
> 

(self-reply-to-add-cc-I-forgot)
-- 
Will "Coke" Coleda

Reply via email to