[perl #114456] [BUG] Invocation '()' after sub declaration doesn't parse in Rakudo (but does in STD)
This works now: $ perl6-m -e 'say sub { 5 }()' 5 $ perl6-m -e 'sub ($t) { say $t }(arf)' arf I added tests to S02-lexical-conventions/sub-block-parsing.t with the following commit: https://github.com/perl6/roast/commit/09ff5366a3
[perl #114456] [BUG] Invocation '()' after sub declaration doesn't parse in Rakudo (but does in STD)
# New Ticket Created by Carl Mäsak # Please include the string: [perl #114456] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114456 diakopter rn: say sub { 5 }() p6eval niecza v19-15-g051783d: OUTPUT«5» p6eval ..rakudo 7ec7a2: OUTPUT«===SORRY!===Confusedat /tmp/CUV6nwoMFP:1» masak std: say sub { 5 }() p6eval std c3e944a: OUTPUT«ok 00:00 41m» * masak submits rakudobug masak diakopter++