Skip to content

Conversation

@fangyi-zhou
Copy link
Contributor

Follow up from #1196. Closes #943.

When getting the field type from the parent field, we now check for instance method types first before using the raw types.

When using the raw types, the type parameters are not initialised, hence causing issues with functions that use type variables during subtyping checks. This diff adds a regression test for these cases.

Follow up from facebook#1196. Closes facebook#943.

When getting the field type from the parent field, we now check for
instance method types first before using the raw types.

When using the raw types, the type parameters are not initialised, hence
causing issues with functions that use type variables during subtyping
checks. This diff adds a regression test for these cases.
@meta-cla meta-cla bot added the cla signed label Nov 2, 2025
@fangyi-zhou
Copy link
Contributor Author

cc @yangdanny97 who reviewed previous diffs on this

@yangdanny97 yangdanny97 self-assigned this Nov 4, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 6, 2025

@yangdanny97 has imported this pull request. If you are a Meta employee, you can view this in D86374052.

Copy link
Contributor

@stroxler stroxler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync
Copy link

meta-codesync bot commented Nov 6, 2025

@yangdanny97 merged this pull request in 32ebabc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incompatible multiple inheritance checks

4 participants