# New Ticket Created by "David Whipp" # Please include the string: [perl #61656] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61656 >
(rakudo 34337) Strange parsing error: sub x { } while 0 { my $b = 1; } breaks: [[[ Statement not terminated properly at line 6, near "{\n my $" ]]] If I add a semicolon after to sub decl, then it's happy: sub x { }; ## <--- semicolon here! while 0 { my $b = 1; } The strange thing is that it's only happening for "my" decls in the loop. If I declare the variable earlier, then I can assign it without problems. ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------