summaryrefslogtreecommitdiff
path: root/src/rewrites.ml
diff options
context:
space:
mode:
authorAlasdair2019-02-01 22:09:37 +0000
committerAlasdair2019-02-01 22:09:37 +0000
commit2f8dd66dcaec500561f8736c98bebf65938fa608 (patch)
tree5f11a7b50d5992bf6e21cc3c6b1f98b1e8ff3080 /src/rewrites.ml
parent3532bc0bbc9015de6d1734ecaf9240b389a5a1e7 (diff)
Fix missing typedef cases in OCaml output
Diffstat (limited to 'src/rewrites.ml')
-rw-r--r--src/rewrites.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rewrites.ml b/src/rewrites.ml
index 67b6518f..f8146a72 100644
--- a/src/rewrites.ml
+++ b/src/rewrites.ml
@@ -2329,6 +2329,8 @@ let rewrite_type_def_typs rw_typ rw_typquant (TD_aux (td, annot)) =
match td with
| TD_abbrev (id, typq, A_aux (A_typ typ, l)) ->
TD_aux (TD_abbrev (id, rw_typquant typq, A_aux (A_typ (rw_typ typ), l)), annot)
+ | TD_abbrev (id, typq, typ_arg) ->
+ TD_aux (TD_abbrev (id, rw_typquant typq, typ_arg), annot)
| TD_record (id, typq, typ_ids, flag) ->
TD_aux (TD_record (id, rw_typquant typq, List.map (fun (typ, id) -> (rw_typ typ, id)) typ_ids, flag), annot)
| TD_variant (id, typq, tus, flag) ->