diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index a92b0a16a..d9e54b054 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -3034,9 +3034,7 @@ struct PrintSExpression : public UnifiedExpressionVisitor<PrintSExpression> { o << '('; printMajor(o, "func "); printName(curr->name, o); - if (currModule && currModule->features.hasGC() && - (getTypeSystem() == TypeSystem::Nominal || - getTypeSystem() == TypeSystem::Isorecursive)) { + if (currModule && currModule->features.hasGC()) { o << " (type "; printHeapType(o, curr->type, currModule) << ')'; } |