diff options
| author | Pierre-Marie Pédrot | 2016-04-09 17:14:18 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-04-09 17:14:18 +0200 |
| commit | bb43730ac876b8de79967090afa50f00858af6d5 (patch) | |
| tree | 8d96531b4869f9ab1e0cd00064f4dbab96cd4ac8 /plugins/cc/cctac.ml | |
| parent | b5420538da04984ca42eb4284a9be27f3b5ba021 (diff) | |
| parent | 84f079fa31723b6a97edc50ca7a81e1eb19e759c (diff) | |
Merge branch 'v8.5'
Diffstat (limited to 'plugins/cc/cctac.ml')
| -rw-r--r-- | plugins/cc/cctac.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/cc/cctac.ml b/plugins/cc/cctac.ml index a1aff12d4f..c8924073c7 100644 --- a/plugins/cc/cctac.ml +++ b/plugins/cc/cctac.ml @@ -401,16 +401,16 @@ let build_term_to_complete uf meta pac = let cc_tactic depth additionnal_terms = Proofview.Goal.nf_enter { enter = begin fun gl -> Coqlib.check_required_library Coqlib.logic_module_name; - let _ = debug (Pp.str "Reading subgoal ...") in + let _ = debug (fun () -> Pp.str "Reading subgoal ...") in let state = Tacmach.New.of_old (fun gls -> make_prb gls depth additionnal_terms) gl in - let _ = debug (Pp.str "Problem built, solving ...") in + let _ = debug (fun () -> Pp.str "Problem built, solving ...") in let sol = execute true state in - let _ = debug (Pp.str "Computation completed.") in + let _ = debug (fun () -> Pp.str "Computation completed.") in let uf=forest state in match sol with None -> Tacticals.New.tclFAIL 0 (str "congruence failed") | Some reason -> - debug (Pp.str "Goal solved, generating proof ..."); + debug (fun () -> Pp.str "Goal solved, generating proof ..."); match reason with Discrimination (i,ipac,j,jpac) -> let p=build_proof uf (`Discr (i,ipac,j,jpac)) in |
