Skip to content

Conversation

@sharkdp
Copy link
Contributor

@sharkdp sharkdp commented Sep 12, 2025

Summary

This mainly removes an internal inconsistency, where we didn't remove the Self type variable when eagerly binding Self to an instance type. It has no observable effect, apparently.

builds on top of #20328

Test Plan

None

@sharkdp sharkdp added the ty Multi-file analysis & type inference label Sep 12, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 12, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@github-actions
Copy link
Contributor

ecosystem-analyzer results

No diagnostic changes detected ✅
Full report with detailed diff

@sharkdp sharkdp force-pushed the david/remove-self-from-generic-context branch 2 times, most recently from 3dd2ab5 to 0c7ca15 Compare September 15, 2025 11:32
@sharkdp sharkdp changed the base branch from main to david/patch-self-on-fallback-types September 15, 2025 11:32
@sharkdp sharkdp marked this pull request as ready for review September 15, 2025 11:33
@github-actions
Copy link
Contributor

github-actions bot commented Sep 15, 2025

mypy_primer results

No ecosystem changes detected ✅
No memory usage changes detected ✅

Base automatically changed from david/patch-self-on-fallback-types to main September 15, 2025 14:21
Copy link
Member

@dcreager dcreager left a comment

Choose a reason for hiding this comment

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

Oof, good catch!

@sharkdp sharkdp force-pushed the david/remove-self-from-generic-context branch from 0c7ca15 to 1d09aae Compare September 15, 2025 14:53
@sharkdp
Copy link
Contributor Author

sharkdp commented Sep 15, 2025

Oof, good catch!

You told me that this is might be a problem :-)

@dcreager
Copy link
Member

You told me that this is might be a problem

And then promptly forgot to look for it in #20328 😅

@sharkdp sharkdp merged commit 2a6dde4 into main Sep 15, 2025
38 checks passed
@sharkdp sharkdp deleted the david/remove-self-from-generic-context branch September 15, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecosystem-analyzer ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants