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
Merge origin/main into fix/csharp14-extension-members
Martin Vogel6d7cd64353a3
diff --cc internal/cbm/extract_defs.cindex b00604753,ddad886af..36a5f6d18--- a/internal/cbm/extract_defs.c+++ b/internal/cbm/extract_defs.c@@@ -5095,22 -8901,11 +8956,20 @@@ static void extract_class_methods(CBMExreturn;}- uint32_t count = ts_node_child_count(body);- for (uint32_t i = 0; i < count; i++) {- TSNode child = ts_node_child(body, i);- if (ts_node_is_null(child)) {- continue;- }+ member_iter_t it;+ member_iter_init(&it, body, ctx->language, false);+ TSNode child;+ while (member_iter_next(&it, &child)) {+ /* C# 14 extension block: emit the members it holds as methods of the+ * enclosing type, rather than the block itself as a constructor named+ * `extension` with its members buried in the body (#2071). */+ if (ctx->language == CBM_LANG_CSHARP &&+ csharp_is_extension_block(child, class_node, ctx->source)) {+ extract_csharp_extension_members(ctx, child, class_node, class_qn, spec);+ continue;+ }+if (ctx->language == CBM_LANG_OBJC &&strcmp(ts_node_type(child), "implementation_definition") == 0) {extract_objc_impl_methods(ctx, child, class_qn, spec);