Skip to content

Cache only when the context corresponds to prefix #22982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Apr 11, 2025

Caching a lookup of c in a.b.c is ok at a.b.
A lookup from a.p should not see the cached value.

Fixes #22971

@som-snytt som-snytt force-pushed the issue/22971-import-implicit-object branch from 5e5d2c9 to 44976dc Compare April 11, 2025 22:55
@som-snytt
Copy link
Contributor Author

Flaky cats test.

Caching a lookup of c in a.b.c is ok at a.b.
A lookup from a.p should not see the cached value.
@som-snytt som-snytt force-pushed the issue/22971-import-implicit-object branch from 44976dc to 9802dd6 Compare April 14, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive warning: unused import with certain combination of generics
1 participant