mirror of https://github.com/m-labs/artiq.git
Fix tests.
This commit is contained in:
parent
8a65266f14
commit
73a8f3c442
|
@ -60,7 +60,7 @@ def main():
|
||||||
buf = source.Buffer("".join(fileinput.input()).expandtabs(),
|
buf = source.Buffer("".join(fileinput.input()).expandtabs(),
|
||||||
os.path.basename(fileinput.filename()))
|
os.path.basename(fileinput.filename()))
|
||||||
parsed, comments = parse_buffer(buf, engine=engine)
|
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)
|
Inferencer(engine=engine).visit(typed)
|
||||||
|
|
||||||
printer = Printer(buf)
|
printer = Printer(buf)
|
||||||
|
|
Loading…
Reference in New Issue