You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's putting the {} before it that makes the check stop working
p 'my @data = 1,@data,"YEWHAT??";say @data'
===SORRY!=== Error while compiling -e
Cannot use variable @data in declaration to initialize itself
at -e:1
I had a ',' where a ';' should have been and it slurped up the next line
where I used @data, and put it into itself. Took me forever to figure it
out!
<Zoffix> m: my @data = @data;
<camelia> rakudo-moar de5d9e: OUTPUT«===SORRY!=== Error while compiling <tmp>Cannot use variable @data in declaration to initialize itselfat <tmp>:1------> my @data = @⏏data; expecting any of: term»
<Zoffix> m: my @data = {}, @data;
<camelia> rakudo-moar de5d9e: ( no output )
Migrated from rt.perl.org#127544 (status was 'open')
Searchable as RT127544$
The text was updated successfully, but these errors were encountered: