DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.56k stars 33 forks source link

Fix parenthesized `&` followed by binary op #1576

Closed edemaine closed 2 weeks ago

edemaine commented 2 weeks ago

Follow up to #1574

Placeholders followed by binary operators seem to already be correctly handled (because they're not valid expressions)

Turns out I was wrong about this. Custom binary operators are at least one example.