ruff
385dd277 - [ty] Avoid double-inference on non-tuple argument to `Annotated` (#21837)

Commit
1 day ago
[ty] Avoid double-inference on non-tuple argument to `Annotated` (#21837) ## Summary If you pass a non-tuple to `Annotated`, we end up running inference on it twice. I _think_ the only case here is `Annotated[]`, where we insert a (fake) empty `Name` node in the slice. Closes https://github.com/astral-sh/ty/issues/1801.
Author
Parents
Loading