Skip to content

fix panic: Overload evaluation: expected arity mismatch not found #4192#4196

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

fix panic: Overload evaluation: expected arity mismatch not found #4192#4196
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:4192

Conversation

@asukaminato0721

Copy link
Copy Markdown
Collaborator

Summary

Fixes #4192

Prevented the overload diagnostic from removing the implicit self when no positional parameter exists.

Test Plan

add test

@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. ✅

@meta-codesync

meta-codesync Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

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

@connernilsen connernilsen left a comment

Copy link
Copy Markdown
Contributor

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.

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.

panic: Overload evaluation: expected arity mismatch not found

3 participants