add test in Repl where integers are passed in as the Value. they end up being
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 30 Sep 2021 12:59:02 +0000 (13:59 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 2 Oct 2021 14:59:30 +0000 (15:59 +0100)
commitce1a69984707b200b044d213da1405c576cd79f9
treeb764f23886b0381e22a012fbde2e4710dc0b2f31
parent0da70ef8be22d162c4d0cea350288c47b3492cf1
add test in Repl where integers are passed in as the Value.  they end up being
passed to Const which ascertains how much space is needed.

for proper Type 1 (ast) nmigen language abstraction, a test is needed
(similar to the one in ast.Mux for bool) which converts *only* integers
to Value, preserving existing behaviour.  there was no unit test for
this case
nmigen/hdl/ast.py
tests/test_hdl_ast.py