mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-09 09:11:00 +08:00
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>