WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR refines the `TypeVar` instantiation logic introduced by #24231.
We only check the `calleeType` when there is actually a `TypeVar` in
`pt` to instantiate now, prioritizing inference from the callee.
Close#24686#24689#24694#24696
Maybe #24695, since the behaviour is the same as 3.3 and 3.7 now.
`calleeType` itself still has some issues, will fix in a separate PR:
#24732
0 commit comments