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:
|
elif other_name in tdecs:
|
||||||
return ty2base_ty(tdecs[other_name].body, tdecs, [other_name] + seen)
|
return ty2base_ty(tdecs[other_name].body, tdecs, [other_name] + seen)
|
||||||
else:
|
else:
|
||||||
err('Could not find type {} in gloval type environment:\n{}'
|
err('Could not find type {} in global type environment:\n{}'
|
||||||
.format(ll.ty2s(ty), tdecs.keys()))
|
.format(ll.ty2s(ty), list(tdecs.keys())))
|
||||||
return ll.SimpleType.Void
|
return ll.SimpleType.Void
|
||||||
else:
|
else:
|
||||||
# TODO
|
# TODO
|
||||||
|
|
Loading…
Reference in New Issue
Block a user