alex-pinkus / tree-sitter-swift

A tree-sitter grammar for the Swift programming language.
MIT License
141 stars 37 forks source link

Incorrectly parsed `!<expr>.<expr>.<expr>` #272

Open ketkarameya opened 1 year ago

ketkarameya commented 1 year ago

Upon parsing this expression - !Enum.case.variable , I observed that ! is associated to Enum and not to Enum.case.variable.

alex-pinkus commented 1 year ago

Good find! Let me look into it.

ketkarameya commented 1 year ago

Oh wow! Thanks @alex-pinkus for the quick turn around.

alex-pinkus commented 1 year ago

Looks like this will require a more involved fix.