Files
codebase-memory-mcp/internal
Martin Vogel c718d68390 fix(lsp): rank Go sole-implementer interface resolution at 0.95
For a call through an interface with exactly one implementer (s.Speak()
where Speaker is implemented only by Dog), go_lsp emitted both
lsp_interface_resolve -> Dog.Speak at 0.90 and lsp_type_dispatch ->
Speaker.Speak at 0.95. The join keeps the highest-confidence resolution,
so type_dispatch (the interface-method node) always shadowed the concrete
sole-implementer resolution. A sole-implementer dispatch is unambiguous;
rank it 0.95 so the concrete Type.method wins for that call site.

go_py LSP strategy reproductions 15->16.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-06-28 00:59:38 +02:00
..