hdl.ast: make Slice const-castable.

Fixes #1006.
This commit is contained in:
Wanda 2023-12-30 12:10:29 +01:00 committed by Catherine
parent 6780c838b2
commit 0849e1af0b
4 changed files with 21 additions and 0 deletions

View file

@ -15,6 +15,7 @@ Language changes
.. currentmodule:: amaranth.hdl
* Added: `class:ast.Slice` objects have been made const-castable.
* Removed: (deprecated in 0.4) :meth:`Const.normalize`. (`RFC 5`_)
* Removed: (deprecated in 0.4) :class:`ast.Sample`, :class:`ast.Past`, :class:`ast.Stable`, :class:`ast.Rose`, :class:`ast.Fell`.

View file

@ -325,6 +325,7 @@ They may also be provided as a pattern to the :ref:`match operator <lang-matchop
* :class:`Const`
* :class:`Cat`
* :class:`Slice`
This list will be expanded in the future.