tree-sitter / tree-sitter-c-sharp

C# Grammar for tree-sitter
MIT License
177 stars 47 forks source link

Types without curly braces are lacking support #339

Open marcinjahn opened 1 week ago

marcinjahn commented 1 week ago

Type declarations such as:

class MyClass1;
class MyClass2();
interface IMyInterface1;
interface IMyInterface2();
enum MyEnum1;
enum MyEnum2();

show up as errors in the syntax tree. The README says that the project supports C# up to v13, so these declarations should be supported.