}
break;
default:
- Unreachable();
+ Warning() << "Constant printing not implemented for the case of " << n.getKind() << endl;
+ out << n.getKind();
break;
}
return;
case kind::APPLY:
toStream(op, n.getOperator(), depth, types, true);
break;
-
+ case kind::SORT_TYPE:
+ {
+ string name;
+ if(n.getAttribute(expr::VarNameAttr(), name)) {
+ out << name;
+ return;
+ }
+ }
+ break;
// BOOL
case kind::AND:
op << "AND";
return;
break;
default:
- Unreachable();
+ Warning() << "Kind printing not implemented for the case of " << n.getKind() << endl;
break;
}