hdl.ast: don't crash on Mux(<bool>, ...).
authorwhitequark <cz@m-labs.hk>
Wed, 2 Oct 2019 08:24:37 +0000 (08:24 +0000)
committerwhitequark <cz@m-labs.hk>
Wed, 2 Oct 2019 08:30:15 +0000 (08:30 +0000)
commit019cbb22c7e019ab239eb0b3e9f9a3fa193934a5
tree1b5ed22d353d5f9a1c3236c3665782106c1101a7
parent031735c48c30cda66198108f8cb2a99168287095
hdl.ast: don't crash on Mux(<bool>, ...).

Fixes #240.
nmigen/hdl/ast.py
nmigen/test/test_hdl_ast.py