From acc97a74f0aeeca5cd9dc242104a6350c8fadc83 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 7 Aug 2015 14:21:53 +0300 Subject: [PATCH] Fix compiler.module. --- artiq/compiler/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/compiler/module.py b/artiq/compiler/module.py index d35a887c4..7f77c04dd 100644 --- a/artiq/compiler/module.py +++ b/artiq/compiler/module.py @@ -22,7 +22,7 @@ class Source: self.name, _ = os.path.splitext(os.path.basename(source_buffer.name)) asttyped_rewriter = transforms.ASTTypedRewriter(engine=engine, - globals=prelude.globals()) + prelude=prelude.globals()) inferencer = transforms.Inferencer(engine=engine) self.parsetree, self.comments = parse_buffer(source_buffer, engine=engine)