Skip to content

fix False positive [missing-attribute] for dict.setdefault(key, []).append(val) on unannotated dict #2799#2800

Draft
asukaminato0721 wants to merge 1 commit intofacebook:mainfrom
asukaminato0721:2799
Draft

fix False positive [missing-attribute] for dict.setdefault(key, []).append(val) on unannotated dict #2799#2800
asukaminato0721 wants to merge 1 commit intofacebook:mainfrom
asukaminato0721:2799

Conversation

@asukaminato0721
Copy link
Contributor

Summary

Fixes #2799

isolating failed overload attempts so they can’t mutate solver state and leak None into later matches.

Test Plan

add test

@meta-cla meta-cla bot added the cla signed label Mar 14, 2026
@asukaminato0721 asukaminato0721 force-pushed the 2799 branch 3 times, most recently from f7c8876 to 476fbf1 Compare March 17, 2026 07:51
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.

False positive [missing-attribute] for dict.setdefault(key, []).append(val) on unannotated dict

1 participant