From 73a8f3c442dcb9f1629563a09bac4800fc9a732b Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 2 Jul 2015 20:06:43 +0300 Subject: [PATCH] Fix tests. --- artiq/compiler/testbench/inferencer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/compiler/testbench/inferencer.py b/artiq/compiler/testbench/inferencer.py index b330bf055..29b8c86fc 100644 --- a/artiq/compiler/testbench/inferencer.py +++ b/artiq/compiler/testbench/inferencer.py @@ -60,7 +60,7 @@ def main(): buf = source.Buffer("".join(fileinput.input()).expandtabs(), os.path.basename(fileinput.filename())) parsed, comments = parse_buffer(buf, engine=engine) - typed = ASTTypedRewriter(globals=prelude.globals(), engine=engine).visit(parsed) + typed = ASTTypedRewriter(engine=engine).visit(parsed) Inferencer(engine=engine).visit(typed) printer = Printer(buf)