mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
![]() ## Summary Resolves [#513](https://github.com/astral-sh/ty/issues/513). Callable types are now considered to be disjoint from nominal instance types where: * The class is `@final`, and * Its `__call__` either does not exist or is not assignable to `(...) -> Unknown`. ## Test Plan Markdown tests. --------- Co-authored-by: Carl Meyer <carl@astral.sh> |
||
---|---|---|
.. | ||
mdtest | ||
primer | ||
README.md |
Markdown files within the mdtest/
subdirectory are tests of type inference and type checking;
executed by the tests/mdtest.rs
integration test.
See crates/ty_test/README.md
for documentation of this test format.