aboutsummaryrefslogtreecommitdiff
path: root/frontend/convertDynamics.icl
diff options
context:
space:
mode:
authorjohnvg2014-04-03 13:15:39 +0000
committerjohnvg2014-04-03 13:15:39 +0000
commit2b2c154fd6341b2990dc552adcf824c9fe9be90f (patch)
treef2df36cd67591c8665be06fb6a97eb0decf8a8bc /frontend/convertDynamics.icl
parentuse the index to recognize predefined types when printing, instead of the nam... (diff)
add unit type
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2365 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/convertDynamics.icl')
-rw-r--r--frontend/convertDynamics.icl2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/convertDynamics.icl b/frontend/convertDynamics.icl
index 2ce916e..bbe667d 100644
--- a/frontend/convertDynamics.icl
+++ b/frontend/convertDynamics.icl
@@ -560,6 +560,8 @@ where
-> type_code_constructor_expression PD_TC__StrictArray ci
PD_UnboxedArrayType
-> type_code_constructor_expression PD_TC__UnboxedArray ci
+ PD_UnitType
+ -> type_code_constructor_expression PD_TC__Unit ci
typeConstructor (GTT_Constructor fun_ident _) ci
# type_fun
= App {app_symb = fun_ident, app_args = [], app_info_ptr = nilPtr}