rescript-lang / tree-sitter-rescript

ReScript parser for Tree-Sitter
MIT License
50 stars 15 forks source link

fix: negative decimal integer literal #235

Closed zweimach closed 7 months ago

zweimach commented 9 months ago

This fixes a bug that I found while trying to parse unary negation operations like -ln and -lSum:
image

And this is the problematic node:
image

aspeddro commented 7 months ago

Closed by #239