aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/typesupport.icl2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/typesupport.icl b/frontend/typesupport.icl
index 34cbf7e..879861f 100644
--- a/frontend/typesupport.icl
+++ b/frontend/typesupport.icl
@@ -1294,6 +1294,8 @@ writeTypeTA file opt_beautifulizer form {type_ident,type_index,type_arity} types
| type_arity == 0
| predef_index==PD_StringType
= (file <<< "String", opt_beautifulizer)
+ | predef_index==PD_UnitType
+ = (file <<< "()", opt_beautifulizer)
= (file <<< type_ident, opt_beautifulizer)
| predef_index==PD_ListType
= writeWithinBrackets "[" "]" file opt_beautifulizer (setProperty form cCommaSeparator, types)