[ty] Fix panics when pulling types for various special forms that have the wrong number of parameters by AlexWaygood · Pull Request #18642 · astral-sh/ruff (original) (raw)
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)