diff options
Diffstat (limited to 'printing')
| -rw-r--r-- | printing/prettyp.ml | 2 | ||||
| -rw-r--r-- | printing/printer.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/printing/prettyp.ml b/printing/prettyp.ml index 0f6a5e8937..0e04808361 100644 --- a/printing/prettyp.ml +++ b/printing/prettyp.ml @@ -126,7 +126,7 @@ let need_expansion impl ref = let typ = Global.type_of_global ref in let ctx = prod_assum typ in let nprods = List.length (List.filter (fun (_,b,_) -> Option.is_empty b) ctx) in - not (List.is_empty impl) && List.length impl >= nprods & + not (List.is_empty impl) && List.length impl >= nprods && let _,lastimpl = List.chop nprods impl in List.exists is_status_implicit lastimpl diff --git a/printing/printer.ml b/printing/printer.ml index 19dd81dcdd..0e5d6721ed 100644 --- a/printing/printer.ml +++ b/printing/printer.ml @@ -778,7 +778,7 @@ let print_record env mind mib = pr_univ_cstr mib.mind_constraints) let pr_mutual_inductive_body env mind mib = - if mib.mind_record & not !Flags.raw_print then + if mib.mind_record && not !Flags.raw_print then print_record env mind mib else print_mutual_inductive env mind mib |
