Skip to content

Commit 937241d

Browse files
committed
tweak postfix where infix expected msg
1 parent 9fe2e1b commit 937241d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

STD.pm6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3183,8 +3183,8 @@ grammar P6 is STD {
31833183
| <infix=infix_circumfix_meta_operator> { $<O> = $<infix><O>; $<sym> = $<infix><sym>; }
31843184
| <infix=infix_prefix_meta_operator> { $<O> = $<infix><O>; $<sym> = $<infix><sym>; }
31853185
| <infix> { $<O> = $<infix><O>; $<sym> = $<infix><sym>; }
3186-
| {} <?dotty> <.panic: "Method call found where infix expected (omit whitespace?)">
3187-
| {} <?postfix> <.panic: "Postfix found where infix expected (omit whitespace?)">
3186+
| {} <?dotty> <.panic: "Method call found where infix expected (change whitespace?)">
3187+
| {} <?postfix> <.panic: "Postfix found where infix expected (change whitespace?)">
31883188
]
31893189
[ <?before '='> <?{ $infix = $<infix>; }> <infix_postfix_meta_operator($infix)>
31903190
{ $<O> = $<infix_postfix_meta_operator>[0]<O>; $<sym> = $<infix_postfix_meta_operator>[0]<sym>; }

0 commit comments

Comments
 (0)