ruff
9bacd19c - [ty] Fix lookup of `__new__` on instances (#21147)

Commit
94 days ago
[ty] Fix lookup of `__new__` on instances (#21147) ## Summary We weren't correctly modeling it as a `staticmethod` in all cases, leading us to incorrectly infer that the `cls` argument would be bound if it was accessed on an instance (rather than the class object). ## Test Plan Added mdtests that fail on `main`. The primer output also looks good!
Author
Parents
Loading