Skip to content

Comments

[red-knot] Callable member lookup, meta type impl#16618

Merged
dhruvmanila merged 2 commits intomainfrom
dhruv/callable-member-lookup
Mar 12, 2025
Merged

[red-knot] Callable member lookup, meta type impl#16618
dhruvmanila merged 2 commits intomainfrom
dhruv/callable-member-lookup

Conversation

@dhruvmanila
Copy link
Member

Summary

This PR is a follow-up to #16493 that implements member lookup for the general callable type.

Based on the discussion around member lookup here and .to_meta_type() here.

Test Plan

Add a new test cases.

@dhruvmanila dhruvmanila added the ty Multi-file analysis & type inference label Mar 11, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2025

mypy_primer results

No ecosystem changes detected ✅

Copy link
Contributor

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this. I think two minor things need to be changed before merging this.

@dhruvmanila dhruvmanila enabled auto-merge (squash) March 12, 2025 06:04
@dhruvmanila dhruvmanila disabled auto-merge March 12, 2025 06:09
@dhruvmanila dhruvmanila force-pushed the dhruv/callable-member-lookup branch from e0862d5 to 9aec57c Compare March 12, 2025 06:25
@dhruvmanila dhruvmanila merged commit 6b84253 into main Mar 12, 2025
21 checks passed
@dhruvmanila dhruvmanila deleted the dhruv/callable-member-lookup branch March 12, 2025 06:31
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.

4 participants