We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b808250 commit 655cc68Copy full SHA for 655cc68
STD.pm6
@@ -2828,11 +2828,13 @@ grammar P6 is STD {
2828
[
2829
:my $infix = $<infix>.Str;
2830
2831
- || <?{ $infix eq '=' or $infix eq ':=' or $infix eq '::=' }>
+ || <?{ $infix eq '=' }>
2832
[ <EXPR(($*LEFTSIGIL eq '$' ?? (item %item_assignment) !! (item %list_prefix) ))>
2833
|| <.panic: "Malformed initializer"> ]
2834
+ || <?{ $infix eq ':=' or $infix eq '::=' }> [
2835
+ <EXPR(item %list_prefix)> || <.panic: "Malformed binding"> ]
2836
|| <?{ $infix eq '.=' }>
- [ <dottyopish> || <.panic: "Malformed method call"> ]
2837
+ [ <dottyopish> || <.panic: "Malformed mutator method call"> ]
2838
]
2839
2840
}
0 commit comments