Open Josh-Cena opened 3 weeks ago
We are planning to enforce the following invariants in our AST for BinaryExpression:
BinaryExpression
left
PrivateIdentifier
operator: "in"
#a + 1;
@sosukesuzuki @fisker Do these look safe to you?
Looks good.
Suggestion
We are planning to enforce the following invariants in our AST for
BinaryExpression
:left
can only be aPrivateIdentifier
ifoperator: "in"
, so the following is a parsing error:@sosukesuzuki @fisker Do these look safe to you?