Btw, this error pops up when the X::Panda symbol disappears for some weird reason. And then the parser thinks it is a sub instead of a type.
Am 18.05.2015 um 09:28 schrieb Moritz Lenz: > > > On 05/18/2015 04:07 AM, Rob Hoelz (via RT) wrote: >> # New Ticket Created by Rob Hoelz >> # Please include the string: [perl #125211] >> # in the subject line of all future correspondence about this issue. >> # <URL: https://rt.perl.org/Ticket/Display.html?id=125211 > >> >> >> The full error message: >> >> ===SORRY!=== >> Function X::Panda needs parens to avoid gobbling block >> at bin/panda:21 >> ------> Panda { %failed{$x}.push($_) && say $_ }⏏ }; >> Missing block (apparently taken by 'X::Panda') >> at bin/panda:21 >> ------> anda { %failed{$x}.push($_) && say $_ } ⏏}; > > Could you please supply a self-contained sample code that triggers > this error? > > Thanks! > >