feat(lsp): interface dispatch in call hierarchy (0.11)

Index interface methods and extend Type for Trait relations so call
hierarchy can show implementors as outgoing targets and .Method call
sites as incoming.

- interface I { func M } + extend T for I tracking
- prepare/outgoing/incoming with data Iface#Method
- smoke_lsp_iface_hierarchy (Drawable.Draw ↔ Circle / Render)
This commit is contained in:
2026-07-19 23:30:52 +03:00
parent 00195e2d98
commit 244a3be8f3
6 changed files with 313 additions and 23 deletions
+3
View File
@@ -208,6 +208,9 @@ test-lsp: lsp
@echo "=== LSP method/type/receiver rename smoke ==="
@chmod +x tools/smoke_lsp_rename_method.sh
@tools/smoke_lsp_rename_method.sh
@echo "=== LSP interface dispatch hierarchy smoke ==="
@chmod +x tools/smoke_lsp_iface_hierarchy.sh
@tools/smoke_lsp_iface_hierarchy.sh
.PHONY: test-registry
test-registry: build