Fix typo in an error message.
This commit is contained in:
parent
457559458e
commit
e5c8522995
|
@ -447,8 +447,8 @@ def ty2base_ty(ty, tdecs, seen=[]):
|
|||
elif other_name in tdecs:
|
||||
return ty2base_ty(tdecs[other_name].body, tdecs, [other_name] + seen)
|
||||
else:
|
||||
err('Could not find type {} in gloval type environment:\n{}'
|
||||
.format(ll.ty2s(ty), tdecs.keys()))
|
||||
err('Could not find type {} in global type environment:\n{}'
|
||||
.format(ll.ty2s(ty), list(tdecs.keys())))
|
||||
return ll.SimpleType.Void
|
||||
else:
|
||||
# TODO
|
||||
|
|
Loading…
Reference in New Issue
Block a user