Skip to content
Snippets Groups Projects
Commit b1119ef4 authored by Régis Blanc's avatar Régis Blanc
Browse files

printing unit type

parent d9c8544b
No related branches found
No related tags found
No related merge requests found
...@@ -334,6 +334,7 @@ object PrettyPrinter { ...@@ -334,6 +334,7 @@ object PrettyPrinter {
private def pp(tpe: TypeTree, sb: StringBuffer, lvl: Int): StringBuffer = tpe match { private def pp(tpe: TypeTree, sb: StringBuffer, lvl: Int): StringBuffer = tpe match {
case Untyped => sb.append("???") case Untyped => sb.append("???")
case UnitType => sb.append("Unit")
case Int32Type => sb.append("Int") case Int32Type => sb.append("Int")
case BooleanType => sb.append("Boolean") case BooleanType => sb.append("Boolean")
case SetType(bt) => pp(bt, sb.append("Set["), lvl).append("]") case SetType(bt) => pp(bt, sb.append("Set["), lvl).append("]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment