CyberShadow / tree-sitter-d

17 stars 6 forks source link

Go through `conflicts` and ensure they are correct #1

Open CyberShadow opened 3 years ago

CyberShadow commented 3 years ago

Currently our grammar has a very long list of conflicts declarations. These were all stuffed there semi-automatically to get the grammar to compile in the simplest way possible.

However, many of these are likely wrong. For each entry, the correct fix can be any one of:

In any case, each fix should be associated with a test (or several) which verifies that our tree-sitter grammar parses code correctly in this circumstance.

Currently, there are the following unresolved conflict clauses: