Fix artiq.compiler.ir.BasicBlock.__repr__.

This commit is contained in:
whitequark 2015-07-19 16:32:33 +03:00
parent 7e3f91c0bb
commit c6cd318f19

View File

@ -341,7 +341,7 @@ class BasicBlock(NamedValue):
return "\n".join(lines)
def __repr__(self):
return "<BasicBlock '{}'>".format(self.name)
return "<artiq.compiler.ir.BasicBlock {}>".format(repr(self.name))
class Argument(NamedValue):
"""