summaryrefslogtreecommitdiff
path: root/src/pretty_print_sail.ml
diff options
context:
space:
mode:
authorAlasdair Armstrong2017-07-13 14:25:34 +0100
committerAlasdair Armstrong2017-07-13 14:25:34 +0100
commitc19b8e2b934149b6670f43d875d773115b08410e (patch)
tree65047a852db3ffb1773f59eb2d859884179abaaf /src/pretty_print_sail.ml
parent73e54aeec2febe58424b44c2c8f649b29910f3d9 (diff)
Improved type inference for let statements and assignments with type annotated patterns and lexps
Added get_enum to type checker interface
Diffstat (limited to 'src/pretty_print_sail.ml')
-rw-r--r--src/pretty_print_sail.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pretty_print_sail.ml b/src/pretty_print_sail.ml
index 9c33c841..6826087a 100644
--- a/src/pretty_print_sail.ml
+++ b/src/pretty_print_sail.ml
@@ -488,6 +488,7 @@ let doc_rec (Rec_aux(r,_)) = match r with
let doc_tannot_opt (Typ_annot_opt_aux(t,_)) = match t with
| Typ_annot_opt_some(tq,typ) -> doc_typquant tq (doc_typ typ)
+ | Typ_annot_opt_none -> empty
let doc_effects_opt (Effect_opt_aux(e,_)) = match e with
| Effect_opt_pure -> string "pure"