Skip to content

Filter overloads based on return type for ParamSpec mapping#24769

Draft
dhruvmanila wants to merge 1 commit intomainfrom
dhruv/filter-overloads-based-on-return-type
Draft

Filter overloads based on return type for ParamSpec mapping#24769
dhruvmanila wants to merge 1 commit intomainfrom
dhruv/filter-overloads-based-on-return-type

Conversation

@dhruvmanila
Copy link
Copy Markdown
Member

@dhruvmanila dhruvmanila commented Apr 21, 2026

Summary

This seems like a quickfix but ideally the constraint solver should just step in and remove the unmatched overloads from the ParamSpec specialization.

Test Plan

@dhruvmanila dhruvmanila added the ty Multi-file analysis & type inference label Apr 21, 2026
@dhruvmanila dhruvmanila force-pushed the dhruv/filter-overloads-based-on-return-type branch from dfed2c5 to 23f606f Compare April 21, 2026 15:20
@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 21, 2026

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 87.94%. The percentage of expected errors that received a diagnostic held steady at 83.36%. The number of fully passing files held steady at 79/133.

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 21, 2026

Memory usage report

Memory usage unchanged ✅

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 21, 2026

ecosystem-analyzer results

No diagnostic changes detected ✅

Full report with detailed diff (timing results)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant