ruff
6e84f4fd - [ty] Resolve overloads for hovers (#21417)

Commit
81 days ago
[ty] Resolve overloads for hovers (#21417) This is a very conservative minimal implementation of applying overloads to resolve a callable-type-being-called down to a single function signature on hover. If we ever encounter a situation where the answer doesn't simplify down to a single function call, we bail out to preserve prettier printing of non-raw-Signatures. The resulting Signatures are still a bit bare, I'm going to try to improve that in a followup to improve our Signature printing in general. Fixes https://github.com/astral-sh/ty/issues/73
Author
Parents
Loading