[ty] Substitute ParamSpec in overloaded functions by dhruvmanila · Pull Request #22416 · astral-sh/ruff (original) (raw)
added bug
Something isn't working
Multi-file analysis & type inference
labels
dhruvmanila pushed a commit that referenced this pull request
@dhruvmanila encountered this in #22416 — there are two different
TypeMapping variants for apply a specialization to a type. One
operates on a full Specialization instance, the other on a partially
constructed one. If we move this enum-ness "down a level" it reduces
some copy/paste in places where we are operating on a TypeMapping.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})