From 577738531f607da8e6347ade1dc3767d98aaf863 Mon Sep 17 00:00:00 2001 From: Julien Forest Date: Mon, 9 Apr 2018 21:28:24 +0200 Subject: change error message in #5147 --- plugins/funind/functional_principles_types.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/funind') diff --git a/plugins/funind/functional_principles_types.ml b/plugins/funind/functional_principles_types.ml index b3f08301b..804548ce5 100644 --- a/plugins/funind/functional_principles_types.ml +++ b/plugins/funind/functional_principles_types.ml @@ -633,7 +633,7 @@ let build_scheme fas = let _ = Typing.e_type_of ~refresh:true (Global.env ()) evd (EConstr.of_constr f) in if isConst f then (destConst f,sort) - else user_err Pp.(pr_constr_env (Global.env ()) !evd f ++spc () ++ str "should be a function") + else user_err Pp.(pr_constr_env (Global.env ()) !evd f ++spc () ++ str "should be the named of a globally defined function") ) fas ) in -- cgit v1.2.3