[Chapel Merge] LSP: fixes to various resolver-enabled LSP features

Branch: refs/heads/main
Revision: f165e4bd5a85183debfe56563936ee2128a5c935
Author: DanilaFe
Link: LSP: fixes to various resolver-enabled LSP features. by DanilaFe · Pull Request #24876 · chapel-lang/chapel · GitHub
Log Message:
LSP: fixes to various resolver-enabled LSP features. (#24876)

Looks like there were a couple of regressions since these features were
last tested. We need automated testing soon. In the meantime, this PR
fixes the bugs.

Reviewed by @jabraham17 -- thanks!

Compare: Comparing 349baea38219367dd7eb6c205770ba25994d47f0...93ae8713f36832dcf307853aceb4fc88d6b7323f · chapel-lang/chapel · GitHub

Diff:
M tools/chapel-py/src/method-tables/type-methods.h
M tools/chpl-language-server/src/chpl-language-server.py
https://github.com/chapel-lang/chapel/pull/24876.diff