By the way, there is a pull request: https://github.com/rakudo/rakudo/pull/1020

But the work on it is kinda stalled.

On 2017-02-17 04:22:51, alex.jakime...@gmail.com wrote:
> Reopened for now.
>
> See RT #121807 and RT #125371 for more info. Basically, there will be
> no error
> after I'm done with everything.
>
> In case of binding, @foo will appear as Mu. Binding doesn't make much
> sense in
> this case, DIHWIDT.
>
> (Mu Z+ 5) will error out normally.
>
> On 2015-11-10 13:59:32, barto...@gmx.de wrote:
> > Since Rakudo commit 3754356d8e this fails with
> > X::Syntax::Variable::Initializer:
> >
> > $ perl6-m -e 'my @foo := 1..3, @foo; .say for @foo[^10]'
> > ===SORRY!=== Error while compiling -e
> > Cannot use variable @foo in declaration to initialize itself
> > at -e:1
> > ------> my @foo := 1..3, @⏏foo; .say for @foo[^10]
> > expecting any of:
> > term
> >
> > In other words, binding an array to a list containing the array
> > itself
> > does not work at all. Therefore I'm closing this ticket as
> > 'resolved'.
> >
> > Test: https://github.com/perl6/roast/commit/dca1faef23

Reply via email to