back.rtlil: fix typo.

This commit is contained in:
whitequark 2019-01-01 08:50:28 +00:00
parent 3c07d8d52c
commit 1a9dcd2f28

View file

@ -306,7 +306,7 @@ class _ValueCompiler(xfrm.ValueVisitor):
raise NotImplementedError # :nocov:
def on_Record(self, value):
return self(Cat(value.fields.values()))
return self(ast.Cat(value.fields.values()))
def on_Cat(self, value):
return "{{ {} }}".format(" ".join(reversed([self(o) for o in value.parts])))