Files
codebase-memory-mcp/internal
Martin Vogel 5f1e702239 fix(lsp): emit lsp_kt_static for Kotlin object/companion member calls
A call on an `object`/`companion object` singleton member (MathKt.square)
was emitted as lsp_kt_method because kotlin_lookup_method matches the
member without recording that its container is a singleton. Track an
is_object flag on the registered type (set at object_declaration
registration) and emit lsp_kt_static when the receiver type is an object;
regular class instances stay lsp_kt_method.

kt LSP strategy reproductions 17->18.

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