lsp query caching seems to constantly mixup functions with identical signatures (original) (raw)
LSP functionality associated with looking up a function's signature is seemingly cached based on the raw type signature of a function. This affects goto-* on keyword arguments and docstrings for signature_help (notably not docstrings for hovering the function name!).
I'm fairly confident this is specifically a caching bug because the problem never appears in cursor tests, but does appear in an IDE. That is, if you check these queries in a cursor test it works perfectly, but if you try it in an IDE then all functions that share a signature (in a file?) suddenly have conflated info.
def my_func(x, y): '''my cool func''' def my_other_func(x, y): '''some other func'''
my_func(x=0, y=1) my_other_func(x=0, y=1)
