mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 08:34:29 -05:00
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