Summary
Apologies I don't quite know how to describe this other than an example:
In https://play.ty.dev/af42dbca-2851-49a9-beb2-4ef0b56c7a1b, ty thinks y is int | None while mypy (correctly) thinks it's int. I think this is related to this mypy PR: python/mypy#15846
ty infers the correct type without the overloads, but mypy does not ☹️ .
Version
ty 0.0.14 (Homebrew 2026-01-27)
Summary
Apologies I don't quite know how to describe this other than an example:
In https://play.ty.dev/af42dbca-2851-49a9-beb2-4ef0b56c7a1b, ty thinks
yisint | Nonewhile mypy (correctly) thinks it'sint. I think this is related to this mypy PR: python/mypy#15846ty infers the correct type without the overloads, but mypy does not☹️ .
Version
ty 0.0.14 (Homebrew 2026-01-27)