Skip to content

Conversation

AlexWaygood
Copy link
Member

Summary

On main we panic if we try to "pull types" for a file that includes a certain parameterized special form with the wrong number of arguments. This can cause unpredictable crashes in the playground, for example:

Screen.Recording.2025-06-12.at.11.41.37.mov

Test Plan

Mdtests (which now pull types automatically if they don't have the <!-- pull-types:skip --> directive in them, following #18539)

@AlexWaygood AlexWaygood requested a review from carljm as a code owner June 12, 2025 10:44
@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Jun 12, 2025
Copy link
Contributor

github-actions bot commented Jun 12, 2025

mypy_primer results

No ecosystem changes detected ✅

@AlexWaygood AlexWaygood force-pushed the alex/pulltypes-panics branch from 3408ccc to 64d2e16 Compare June 16, 2025 14:53
@AlexWaygood AlexWaygood added the bug Something isn't working label Jun 16, 2025
@AlexWaygood AlexWaygood merged commit 1d458d4 into main Jun 17, 2025
35 checks passed
@AlexWaygood AlexWaygood deleted the alex/pulltypes-panics branch June 17, 2025 09:40
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.

2 participants