ruff
b9c84add - [ty] Disambiguate classes that live in different modules but have the same fully qualified names (#20756)

Commit
132 days ago
[ty] Disambiguate classes that live in different modules but have the same fully qualified names (#20756) ## Summary Even disambiguating classes using their fully qualified names is not enough for some diagnostics. We've seen real-world examples in the ecosystem (and https://github.com/astral-sh/ruff/pull/20368 introduces some more!) where two types can be different, but can still have the same fully qualified name. In these cases, our disambiguation machinery needs to print the file path and line number of the class in order to disambiguate classes with similar names in our diagnostics. Helps with https://github.com/astral-sh/ty/issues/1306 ## Test Plan Mdtests
Author
Parents
Loading