# New Ticket Created by  Steven Albano 
# Please include the string:  [perl #73804]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73804 >


Hello, I was trying out some example code (release #27) when I stumbled upon 
what appears to be a parsing bug where white-space is incorrectly required 
between the expression and the block in an if statement.  

I checked the bug tracker, and failed to find anything, so I checked the 
grammar.  In the grammar, there is a <.ws> between the expression and the 
block.  

I could be misunderstanding, as I am just getting used to perl6, and I could 
have missed an existing low priority bug since it is fairly obvious.  If that 
is the case, please consider this to be fan mail.  You folks are doing cool 
stuff.     

Steven Albano

my @b= 5, 1, 2;

if(@b>2) {say 'yes';} # works
if(@b>2){say 'yes';}   # fails



      

Reply via email to