gdamore / tree-sitter-d

D Grammar for Tree Sitter
MIT License
41 stars 7 forks source link

Cannot grok declarations with nested types #3

Closed gdamore closed 1 year ago

gdamore commented 1 year ago

This syntax is failing:

t1.t2.t3 variable = value;

This should be perfectly legal. Currently this tries to process it as an assignment statement.

gdamore commented 1 year ago

Fixed.