diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-03-22 14:09:41 +0100 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-03-22 14:09:41 +0100 |
commit | 6e0ca299c407125a8d65f54ab424bdae3667125e (patch) | |
tree | 2f968c31b85b22190d4ce9f2472f4cb6cd0a6ad9 /vernac/auto_ind_decl.ml | |
parent | 051ef20a9f9c496fc6a5143de97450ccf7786c5b (diff) | |
parent | aa9e94275ccac92311a6bdac563b61a6c7876cec (diff) |
Merge PR#390: Updates to the Pretty Printing Infrastructure
Diffstat (limited to 'vernac/auto_ind_decl.ml')
-rw-r--r-- | vernac/auto_ind_decl.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vernac/auto_ind_decl.ml b/vernac/auto_ind_decl.ml index 594f2e944..6d71601cc 100644 --- a/vernac/auto_ind_decl.ml +++ b/vernac/auto_ind_decl.ml @@ -444,14 +444,14 @@ let do_replace_bl mode bl_scheme_key (ind,u as indu) aavoid narg lft rgt = with Not_found -> (* spiwack: the format of this error message should probably be improved. *) - let err_msg = string_of_ppcmds + let err_msg = (str "boolean->Leibniz:" ++ str "You have to declare the" ++ str "decidability over " ++ Printer.pr_constr tt1 ++ str " first.") in - error err_msg + user_err err_msg in let bl_args = Array.append (Array.append (Array.map (fun x -> x) v) |