Skip to content

fix support on hover for += and so on #4005#4006

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

fix support on hover for += and so on #4005#4006
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:4005

Conversation

@asukaminato0721

Copy link
Copy Markdown
Contributor

Summary

Fixes #4005

added augmented-assignment operator-region detection and __iadd__ definition/type lookup for +=.

wired augmented-assignment operator type lookup into hover.

Test Plan

added regression coverage for += hover and verified RHS literal hover is preserved.

@meta-cla meta-cla Bot added the cla signed label Jul 1, 2026
@github-actions github-actions Bot added the size/s label Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

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

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.

support on hover for += and so on

1 participant