Skip to content

Commit e17ff6a

Browse files
committed
relax in_meta check so !~~~ is caught
1 parent 93d8861 commit e17ff6a

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
@@ -3249,7 +3249,7 @@ grammar P6 is STD {
32493249
| <infix=infix_prefix_meta_operator> { $<O> = $<infix><O>; $<sym> = $<infix><sym>; }
32503250
| <infix> :: { $<O> = $<infix><O>; $<sym> = $<infix><sym>; }
32513251
[
3252-
<?{ !$in_meta }> <!before \s> <?before <prefix>\s> {
3252+
<!before \s> <?before <prefix>\s> {
32533253
my $i = $<infix>.Str;
32543254
my $p = $<prefix>[0].Str;
32553255
.worry("$i$p is not an infix operator (to suppress warning put space between infix $i and prefix $p)");

0 commit comments

Comments
 (0)