Skip to content

Conversation

@AlexWaygood
Copy link
Member

Summary

We panicked if we tried to pull types for something like Literal[-1].

Test Plan

  • Removed many typeshed files from the corpus test ignorelist
  • Added a new snippet to our corpus tests so that we have coverage even if typeshed changes

@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Jun 7, 2025
@AlexWaygood AlexWaygood enabled auto-merge (squash) June 7, 2025 15:22
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2025

mypy_primer results

No ecosystem changes detected ✅

@AlexWaygood AlexWaygood merged commit 72552f3 into main Jun 7, 2025
31 checks passed
@AlexWaygood AlexWaygood deleted the alex/neg-literal-crash branch June 7, 2025 15:26
@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