Fix compiler.module.

This commit is contained in:
whitequark 2015-08-07 14:21:53 +03:00
parent a7633f75c7
commit acc97a74f0

View File

@ -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)