forked from M-Labs/artiq
compiler.types.Type: more useful __str__.
This commit is contained in:
parent
ac92aabce1
commit
6a29775bf0
@ -41,7 +41,8 @@ def _map_find(elts):
|
||||
|
||||
|
||||
class Type(object):
|
||||
pass
|
||||
def __str__(self):
|
||||
return TypePrinter().name(self)
|
||||
|
||||
class TVar(Type):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user