lib.data: mark Field as @final.

This commit is contained in:
Catherine 2023-12-01 20:44:46 +00:00
parent 3597c48eee
commit 193fdaccd0

View file

@ -3,6 +3,7 @@ from enum import Enum
from collections.abc import Mapping, Sequence
import warnings
from amaranth._utils import final
from amaranth.hdl import *
from amaranth.hdl._repr import *
from amaranth.hdl.ast import ShapeCastable, ValueCastable
@ -14,6 +15,7 @@ __all__ = [
]
@final
class Field:
"""Description of a data field.