mirror of https://github.com/astral-sh/ruff
## Summary - Simplify unions with `object` to `object`. - Add a new `Type::object(db)` constructor to abbreviate `KnownClass::Object.to_instance(db)` in some places. - Add a `Type::is_object` and `Class::is_object` function to make some tests for a bit easier to read. closes #16084 ## Test Plan New Markdown tests. |
||
|---|---|---|
| .. | ||
| mdtest | ||
| README.md | ||
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/red_knot_test/README.md for documentation of this test format.