feat(lsp): method call hierarchy for extend Type / .Method (0.9)
Index methods inside extend/impl blocks and include .Method( call sites in the call graph so IDEs can navigate receiver methods. - analyzeFile: track extend/impl brace scope; kind=method + container - Call hierarchy treats methods as callables; display Type.Method - smoke_lsp_method_hierarchy (Scale→Len, Main→Scale)
This commit is contained in:
@@ -57,8 +57,8 @@ if ! grep -q 'callHierarchyProvider' "$TMP/out.txt"; then
|
||||
cat "$TMP/out.txt"
|
||||
exit 1
|
||||
fi
|
||||
if ! grep -q '0.8.0' "$TMP/out.txt"; then
|
||||
echo "WARN: version not 0.8.0"
|
||||
if ! grep -qE '0\.[89]\.0' "$TMP/out.txt"; then
|
||||
echo "WARN: unexpected bux-lsp version"
|
||||
fi
|
||||
|
||||
# prepare should mention Add
|
||||
|
||||
Reference in New Issue
Block a user