fix(csharp): remove invalid simple_base_type from heritage queries

tree-sitter-c-sharp v0.21 does not have a simple_base_type node in
base_list — identifiers appear directly under base_list. The invalid
node type caused the entire CSHARP_QUERIES to fail at query compilation
time (TSQueryErrorNodeType), which meant processFileGroup silently
returned early and no C# symbols were extracted at all.

Fixes #173
This commit is contained in:
jiangnan
2026-03-07 08:47:58 +08:00
parent 4de40e4011
commit 8ca25fe753
@@ -282,9 +282,9 @@ export const CSHARP_QUERIES = `
; Heritage
(class_declaration name: (identifier) @heritage.class
(base_list (simple_base_type (identifier) @heritage.extends))) @heritage
(base_list (identifier) @heritage.extends)) @heritage
(class_declaration name: (identifier) @heritage.class
(base_list (simple_base_type (generic_name (identifier) @heritage.extends)))) @heritage
(base_list (generic_name (identifier) @heritage.extends))) @heritage
`;
// Rust queries - works with tree-sitter-rust