Skip to content

Commit

Permalink
Remove grammar +In parameter for negated in
Browse files Browse the repository at this point in the history
The grammar parameter `+In` is unnecessary for `!in` or `not in` as there will be no conflict with `for` loops.
  • Loading branch information
gorosgobe authored Nov 10, 2023
1 parent 58c18f8 commit 3733bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contributors: Pablo Gorostiaga Belio
RelationalExpression[?In, ?Yield, ?Await] `instanceof` ShiftExpression[?Yield, ?Await]
<ins>RelationalExpression[?In, ?Yield, ?Await] `!instanceof` ShiftExpression[?Yield, ?Await]</ins>
[+In] RelationalExpression[+In, ?Yield, ?Await] `in` ShiftExpression[?Yield, ?Await]
<ins>[+In] RelationalExpression[+In, ?Yield, ?Await] `!in` ShiftExpression[?Yield, ?Await]</ins>
<ins>RelationalExpression[?In, ?Yield, ?Await] `!in` ShiftExpression[?Yield, ?Await]</ins>
[+In] PrivateIdentifier `in` ShiftExpression[?Yield, ?Await]
</emu-grammar>
<emu-note>
Expand Down

0 comments on commit 3733bea

Please sign in to comment.