Skip to content

fix __call__ don't have parameter name #4377 - #4399

Closed
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:4377
Closed

fix __call__ don't have parameter name #4377#4399
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:4377

Conversation

@asukaminato0721

Copy link
Copy Markdown
Collaborator

Summary

Fixes #4377

Callable instances are now coerced to their bound __call__ signature before generating parameter-name hints

Test Plan

add test

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

meta-codesync Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Aug 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. ✅

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

@meta-codesync meta-codesync Bot closed this in 91f1176 Aug 6, 2026
@meta-codesync meta-codesync Bot added the Merged label Aug 6, 2026
@meta-codesync

meta-codesync Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 91f1176.

@asukaminato0721
asukaminato0721 deleted the 4377 branch August 6, 2026 13:09
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.

__call__ don't have parameter name

3 participants