Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion macropy/core/failure.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def clear_errors(tree, **kw):
tb = "".join(traceback.format_tb(tree.__traceback__))
msg = str(tree)
if type(tree) is not AssertionError or tree.args == ():
msg = ("".join(tree.args) + "\nCaused by Macro-Expansion Error:\n" +
msg = ("".join(str(x) for x in tree.args) + "\nCaused by Macro-Expansion Error:\n" +
tb)
return hq[raise_error(MacroExpansionError(msg))]
else:
Expand Down