summaryrefslogtreecommitdiff
path: root/src/PrintPure.ml
diff options
context:
space:
mode:
authorSon Ho2022-02-08 18:14:13 +0100
committerSon Ho2022-02-08 18:14:13 +0100
commitef59256fb354edb9d6ffee81bb3f9e82648a6d5a (patch)
treed88bbfbfdfcd719e92c27ca19c690c916f77d3e2 /src/PrintPure.ml
parent1e6f3fb7d8ac8e72ca38f08d7e4be5c835e3443a (diff)
Fix some issues
Diffstat (limited to '')
-rw-r--r--src/PrintPure.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PrintPure.ml b/src/PrintPure.ml
index f0e5df77..cf865a54 100644
--- a/src/PrintPure.ml
+++ b/src/PrintPure.ml
@@ -129,7 +129,8 @@ let type_id_to_string (fmt : type_formatter) (id : type_id) : string =
match id with
| AdtId id -> fmt.type_def_id_to_string id
| Tuple -> ""
- | Assumed aty -> ( match aty with Result -> "Result")
+ | Assumed aty -> (
+ match aty with Result -> "Result" | Option -> "Option" | Vec -> "Vec")
let rec ty_to_string (fmt : type_formatter) (ty : ty) : string =
match ty with