[perl #114554] [BUG] Definition of zero-length postfix operator wrongly allowed in Rakudo
[email protected] ("Zoffix Znet via RT") Fri, 09 Mar 2018 07:00:32 -0800
| Newsgroups | perl.perl6.compiler |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 07 Apr 2016 10:31:20 -0700, diakopter wrote:
> new behavior:
>
> 13:30 <diakopter> m: sub postfix:{}($a) { say "$a bracey brace" };
> 42{}
> 13:30 <camelia> rakudo-moar 61d231: OUTPUT«===SORRY!===Internal
> error: find_var_decl could not find $_»
Couple more glitches in the same area:
14:59 Zoffix m: my $z:{:42foo}
14:59 camelia rakudo-moar 26522e8ac: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>You can't adverb $zat <tmp>:1------> 3my $z:{:42foo}7⏏5<EOL>»
14:59 Zoffix m: my \z:{:42foo}
14:59 camelia rakudo-moar 26522e8ac: OUTPUT: «===SORRY!===Cannot find method 'ast' on object of type NQPMu»