This wasn't updated in a while. As of today (2017.11,HEAD(e5b660e)), it still complains about final ) like mentioned in one of the recent comments. And yes, this tickets seems to be rejectable.
On 2015-07-20 09:27:25, duff wrote: > I'm not sure this is a bug. The postfix for is a statement modifier, > and it's being used in an argument list context. For it to parse > right, you'd have to do something like this: > > all( do { my $c for () } ); > > or even > > all( (my $c for ()) ); > > I didn't test the version with the balanced sub, but I guess it would > require something similar. > > -Scott > > On Wed Feb 15 06:37:15 2012, masak wrote: > > <masak> nom: sub balanced { all((my $c += $_ eq "[" ?? 1 !! -1) < 0 > > for $^s.comb) && !$c }; .say when &balanced for (^(2 ** > > 6))».fmt("%06b")».trans("01" => "[]") > > <p6eval> nom bd5adb: OUTPUT«===SORRY!===Redeclaration of symbol > > $cat > > /tmp/f7OZkWSnoP:1» > > <masak> huh. > > <masak> nom: all(my $c for ()) > > <p6eval> nom bd5adb: OUTPUT«===SORRY!===Redeclaration of symbol > > $cat > > /tmp/XLWPyMzIwp:1» > > <masak> that's the shortest I can make it. > > * masak submits rakudobug