# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #109300]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=109300 >


<fasad> so i found out that declaring more than one array on the same
my statement does not work. why ?
<fasad> my @a, @b;
<sorear> need parens
<sorear> std: my @a, @b;
<p6eval> std 48335fc: OUTPUT«===SORRY!===␤Variable @b is not
predeclared (declarators are tighter than comma, so maybe your 'my'
signature needs parens?) [...] Check failed␤FAILED 00:01 111m␤»
<fasad> oh
<masak> could have a better error message.
<sorear> masak: what do you propose?
<masak> sorear: "Variable @b not predeclared (did you forget parentheses?)"
<sorear> masak: you think that's better than what STD already does?
<masak> sorear: oh!
<masak> sorear: didn't read properly. :/
<masak> though I do think that "parens", cute as it is, is a less
well-known term than "parentheses".
<fasad> btw, rakudo complains about @b being not predeclared. Its
warning has room for improvement !
<masak> fasad: yes.
<masak> rakudo: my @a, @b;
<p6eval> rakudo 9719f7: OUTPUT«===SORRY!===␤Variable @b is not
predeclared at line 1, near ";"␤»
* masak submits rakudobug

Reply via email to