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


Rakudo misparses this file:

my %a; sub c { }
%a<b> = 1;

Output:

===SORRY!===
CHECK FAILED:
Undefined routine '&a' called (line 2)

It doesn't parse the } followed by the newline as a statement end.
Thus it parses the following % as an infix op, and 'a' as a subroutine
call. As a workaround, I can add a ; to the end of the first line.

STD parses it correctly.

Reply via email to