diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index f51bccf27..fef4ac01d 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -2056,7 +2056,7 @@ struct PrintSExpression : public OverriddenVisitor<PrintSExpression> { o << "(event "; printName(curr->name, o); o << maybeSpace << "(attr " << curr->attribute << ')' << maybeSpace; - o << ParamType(Type(curr->params)); + o << ParamType(curr->sig.params); o << "))"; o << maybeNewLine; } @@ -2066,7 +2066,7 @@ struct PrintSExpression : public OverriddenVisitor<PrintSExpression> { printMedium(o, "event "); printName(curr->name, o); o << maybeSpace << "(attr " << curr->attribute << ')' << maybeSpace; - o << ParamType(Type(curr->params)); + o << ParamType(curr->sig.params); o << ")" << maybeNewLine; } void printTableHeader(Table* curr) { |