Skip to content

Commit f14804f

Browse files
committed
(except do it right)
1 parent bcb3aa6 commit f14804f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STD.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,7 @@ grammar P6 is STD {
25792579
<.ws>
25802580
[ <?[ \[ \{ \( \< ]> <.obs('brackets around replacement', 'assignment syntax')> ]?
25812581
[ <infixish> || <panic: "Missing assignment operator"> ]
2582-
[ <?{ $<infixish>.Str eq '=' || $<infixish>.<infix_postfix_meta_operator> }>.Str eq '=' || <.panic: "Malformed assignment operator"> ]
2582+
[ <?{ $<infixish>.Str eq '=' || $<infixish>.<infix_postfix_meta_operator>[0] }> || <.panic: "Malformed assignment operator"> ]
25832583
<.ws>
25842584
[ <right=EXPR(item %item_assignment)> || <.panic: "Assignment operator missing its expression"> ]
25852585
||

0 commit comments

Comments
 (0)