diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2017-08-13 23:56:53 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2017-09-12 20:30:11 +0200 |
commit | 2e1ae2cab5a4c103ecafe7ab71b77a7ee7589760 (patch) | |
tree | e5a738d143161e4865fc84be75c9d998b47b5f1f | |
parent | bc3b07f639f04295bc440f42d5aa2420c07ecee6 (diff) |
Don't exclude a priori CLocalDef to be treated by ppconstr.ml.
-rw-r--r-- | printing/ppconstr.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/ppconstr.ml b/printing/ppconstr.ml index 4a103cdd2..37204c213 100644 --- a/printing/ppconstr.ml +++ b/printing/ppconstr.ml @@ -380,9 +380,9 @@ let tag_var = tag Tag.variable match bl with | [CLocalAssum (nal,k,t)] -> kw n ++ pr_binder false pr_c (nal,k,t) - | (CLocalAssum _ | CLocalPattern _) :: _ as bdl -> + | (CLocalAssum _ | CLocalPattern _ | CLocalDef _) :: _ as bdl -> kw n ++ pr_undelimited_binders sep pr_c bdl - | _ -> assert false + | [] -> assert false let pr_binders_gen pr_c sep is_open = if is_open then pr_delimited_binders pr_com_at sep pr_c |