On Mon Oct 27 11:21:57 2008, pmichaud wrote: > On Sun, Oct 26, 2008 at 02:47:12PM -0700, Carl Mäsak wrote: > > <moritz_> rakudo: if(3 < 5) { say "yes" } # that should fail > > > > Early experimentation indicates that this goes for unless, while, > > until and given as well, and probably others I can't think of now. > > Just for the record (since the ticket doesn't explicitly mention it), > this should result in a syntax error because the block is a term > in operator position ("two terms in a row").
And as of 1e22a68, it does: pmich...@orange:~/rakudo$ ./perl6 > if(3 < 5) { say 'yes' } Statement not terminated properly at line 1, near "{ say 'yes" > if (3 < 5) { say 'yes' } yes Pm