Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
test(grammar): pin C# 14 extension block members in the regression net
Martin Vogel15950c361c5e
diff --git a/tests/test_grammar_labels.c b/tests/test_grammar_labels.cindex f2e58074d..be28a0687 100644--- a/tests/test_grammar_labels.c+++ b/tests/test_grammar_labels.c@@ -93,6 +93,7 @@ static const LabelGolden LABEL_GOLDENS[] = {{"ruby", "Class:1,Function:1,Module:1"},{"php", "Class:1,Function:1,Module:1"},{"c_sharp", "Class:1,Method:1,Module:1"},+ {"csharp_extension_declaration", "Class:1,Method:1,Module:1"},{"bash", "Function:2,Module:1"},{"zsh", "Function:2,Module:1"},{"lua", "Function:2,Module:1"},diff --git a/tests/test_grammar_regression.c b/tests/test_grammar_regression.cindex 219c68edb..88007db0d 100644--- a/tests/test_grammar_regression.c+++ b/tests/test_grammar_regression.c@@ -81,6 +81,21 @@ const GrammarCase CBM_GRAMMAR_CASES[] = {"class A {\n void Foo() {}\n}\n",2,{"A", "Foo", NULL}},+ {"csharp_extension_declaration",+ CBM_LANG_CSHARP,+ "Extensions.cs",+ "using System.Collections.Generic;\n"+ "using System.Linq;\n"+ "public static class NumberExtensions\n"+ "{\n"+ " extension(IEnumerable<int> numbers)\n"+ " {\n"+ " public int SumPositive() =>\n"+ " numbers.Where(n => n > 0).Aggregate(0, static (total, n) => total + n);\n"+ " }\n"+ "}\n",+ 2,+ {"NumberExtensions", "SumPositive", NULL}},{"bash",CBM_LANG_BASH,"a.sh",