aboutsummaryrefslogtreecommitdiffstats
path: root/src/pprint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pprint.cpp')
-rw-r--r--src/pprint.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pprint.cpp b/src/pprint.cpp
index 76796d7..28df1cc 100644
--- a/src/pprint.cpp
+++ b/src/pprint.cpp
@@ -51,10 +51,11 @@ operator<<(ostream& out, const AST* ast)
const AType* type = ast->to<const AType*>();
if (type) {
switch (type->kind) {
- case AType::VAR: return out << "?" << type->id;
- case AType::PRIM: return out << type->head();
- case AType::DOTS: return out << "...";
- case AType::EXPR: break; // will catch Tuple case below
+ case AType::VAR: return out << "?" << type->id;
+ case AType::NAME: return out << type->head();
+ case AType::PRIM: return out << type->head();
+ case AType::DOTS: return out << "...";
+ case AType::EXPR: break; // will catch Tuple case below
}
}