hdl.rec: fix Record.like() being called through a subclass. v0.1
authorwhitequark <whitequark@whitequark.org>
Sat, 9 Nov 2019 16:44:01 +0000 (16:44 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 9 Nov 2019 17:45:07 +0000 (17:45 +0000)
commitf8f7d8312773a852c6d6d91f99d8147add131d55
treebded17b65a4a64f93af144ebd632ba237dfd7da2
parentdc2a09b8b9b60a219be2cb97b5ccce7d2a1a7700
hdl.rec: fix Record.like() being called through a subclass.

The subclass does not necessarily take layout as the first argument.
nmigen/hdl/rec.py