From c6cd318f19c7273b5a89b08dd8016c63bccb82db Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 19 Jul 2015 16:32:33 +0300 Subject: [PATCH] Fix artiq.compiler.ir.BasicBlock.__repr__. --- artiq/compiler/ir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/compiler/ir.py b/artiq/compiler/ir.py index 89e1f4b1a..baa753647 100644 --- a/artiq/compiler/ir.py +++ b/artiq/compiler/ir.py @@ -341,7 +341,7 @@ class BasicBlock(NamedValue): return "\n".join(lines) def __repr__(self): - return "".format(self.name) + return "".format(repr(self.name)) class Argument(NamedValue): """