Skip to content

fix Missing hover on attribute assignment in __init__ #4986 - #4997

Open
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:4986
Open

asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:4986

Conversation

@asukaminato0721

Copy link
Copy Markdown
Collaborator

Summary

Fixes #4986

Hover now shows the assigned type on attribute targets such as self.name = name.

Test Plan

add test

@meta-codesync

meta-codesync Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D121023380. (Because this pull request was imported automatically, there will not be any future comments.)

@github-actions

Copy link
Copy Markdown

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

This branch has not been deployed

No deployments
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.

Missing hover on attribute assignment in __init__

1 participant