forked from M-Labs/artiq
compiler: fix tests.
This commit is contained in:
parent
2d906daf7f
commit
25027f6907
@ -733,6 +733,8 @@ class TypePrinter(object):
|
||||
attrs = ", ".join(["{}: {}".format(attr, self.name(typ.attributes[attr]))
|
||||
for attr in typ.attributes])
|
||||
return "<constructor {} {{{}}}>".format(typ.name, attrs)
|
||||
elif isinstance(typ, TBuiltin):
|
||||
return "<builtin {}>".format(typ.name)
|
||||
elif isinstance(typ, TValue):
|
||||
return repr(typ.value)
|
||||
elif isinstance(typ, TDelay):
|
||||
|
@ -1,5 +1,5 @@
|
||||
# RUN: %python -m artiq.compiler.testbench.inferencer %s >%t
|
||||
# RUN: OutputCheck %s --file-to-check=%t
|
||||
|
||||
# CHECK-L: as x:<function parallel>
|
||||
# CHECK-L: as x:<builtin parallel>
|
||||
with parallel as x: pass
|
||||
|
Loading…
Reference in New Issue
Block a user