hdl.ast: handle int subclasses as slice start/stop values.
authorwhitequark <whitequark@whitequark.org>
Thu, 18 Mar 2021 23:52:23 +0000 (23:52 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 18 Mar 2021 23:52:23 +0000 (23:52 +0000)
commitc30dcea24de4dfa926345513a89f75eb4ed7c7d1
tree4f527b96df8320fc898e93748ed95c9da0179b02
parentf7c2b9419f9de450be76a0e9cf681931295df65f
hdl.ast: handle int subclasses as slice start/stop values.

Fixes #601.
nmigen/hdl/ast.py
tests/test_hdl_ast.py