Skip Menu |
Report information
Id: 125211
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: rob [at] hoelz.ro
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: JVM



Subject: Error "Function X::Panda needs parens to avoid gobbling block" when running panda on JVM, but not on Moar
Download (untitled) / with headers
text/plain 282b
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 $_ } ⏏};
To: perl6-compiler [...] perl.org
Date: Mon, 18 May 2015 09:28:24 +0200
Subject: Re: [perl #125211] Error "Function X::Panda needs parens to avoid gobbling block" when running panda on JVM, but not on Moar
From: Moritz Lenz <moritz [...] faui2k3.org>
Download (untitled) / with headers
text/plain 663b
On 05/18/2015 04:07 AM, Rob Hoelz (via RT) wrote: Show quoted text
> # 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!
Subject: Re: [perl #125211] Error "Function X::Panda needs parens to avoid gobbling block" when running panda on JVM, but not on Moar
From: Tobias Leich <email [...] froggs.de>
Date: Mon, 18 May 2015 10:19:35 +0200
To: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 878b
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: Show quoted text
> > > 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! > >
Download (untitled) / with headers
text/plain 851b
On Mon May 18 00:29:00 2015, moritz wrote: Show quoted text
> > > 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! > >
This appears when running perl6 on bin/panda (as of Panda 1159c82); I can try to golf it down.
On Mon May 18 05:42:51 2015, rob@hoelz.ro wrote: Show quoted text
> On Mon May 18 00:29:00 2015, moritz wrote:
> > > > > > 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! > > > >
> > This appears when running perl6 on bin/panda (as of Panda 1159c82); I > can try to golf it down.
Git bisect points to 3fb51c7a6a57cefb39eaebd31a52754ab8e4e6d7 in rakudo as the culprit.
Download (untitled) / with headers
text/plain 1.2k
On 2015-05-22 21:11:05, rob@hoelz.ro wrote: Show quoted text
> On Mon May 18 05:42:51 2015, rob@hoelz.ro wrote:
> > On Mon May 18 00:29:00 2015, moritz wrote:
> > > > > > > > > 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! > > > > > >
> > > > This appears when running perl6 on bin/panda (as of Panda 1159c82); I > > can try to golf it down.
> > Git bisect points to 3fb51c7a6a57cefb39eaebd31a52754ab8e4e6d7 in > rakudo as the culprit.
I golfed this down (tarball attached), and that commit does *not* seem to be at fault.
Subject: x-panda-golfed.tar.bz2
Download x-panda-golfed.tar.bz2
application/x-bzip2 555b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org