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
Fix attribute type resolution with multiple inheritance (#18415)
Fixes#18268. Fixes#9319. Fixes#14279. Fixes#9031.
Supersedes #18270 as requested by @ilevkivskyi.
This PR introduces two changes:
* Add missing `map_type_from_supertype` when checking generic attributes
* Only compare the first base defining a name to all following in MRO -
others are not necessarily pairwise compatible.
---------
Co-authored-by: Shantanu <[email protected]>
0 commit comments