ruff
ec86a4e9 - [ty] Add Top[] and Bottom[] special forms, replacing top_materialization_of() function (#20054)

Commit
111 days ago
[ty] Add Top[] and Bottom[] special forms, replacing top_materialization_of() function (#20054) Part of astral-sh/ty#994 ## Summary Add new special forms to `ty_extensions`, `Top[T]` and `Bottom[T]`. Remove `ty_extensions.top_materialization` and `ty_extensions.bottom_materialization`. ## Test Plan Converted the existing `materialization.md` mdtest to the new syntax. Added some tests for invalid use of the new special form.
Author
Parents
Loading