Skip to content

Conversation

@AlexWaygood
Copy link
Member

Summary

We weren't storing the type for attribute expressions inside Literal slices. This was causing us to panic when pulling types on four typeshed files.

Test Plan

Added a corpus test that previously failed and removed four entries from the KNOWN_FAILURES corpus test ignorelist. All existing tests pass.

@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Jun 7, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2025

mypy_primer results

No ecosystem changes detected ✅

@AlexWaygood AlexWaygood merged commit 95497ff into main Jun 7, 2025
34 checks passed
@AlexWaygood AlexWaygood deleted the alex/annotationlib-crash branch June 7, 2025 14:59
@dhruvmanila dhruvmanila added the bug Something isn't working label Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants