diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-11-07 23:33:13 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-11-07 23:33:13 +0000 |
commit | f3db9d5424d411205c3fdde6d5b7ef11399de691 (patch) | |
tree | 3acd5811e6d80d02e995d61ee72d79490e4ae082 /plugins/subtac | |
parent | 179651bfda99fc80e150d77ce0eccb08d9c98522 (diff) |
Add information of localisation when an error involving an "implicit
types" occurs. Also improved the "unexpected type" error message.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13626 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/subtac')
-rw-r--r-- | plugins/subtac/subtac_command.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/subtac/subtac_command.ml b/plugins/subtac/subtac_command.ml index 7c6e54a9c..852776630 100644 --- a/plugins/subtac/subtac_command.ml +++ b/plugins/subtac/subtac_command.ml @@ -86,7 +86,7 @@ let interp_constr_judgment isevars env c = let locate_if_isevar loc na = function | RHole _ -> (try match na with - | Name id -> Reserve.find_reserved_type id + | Name id -> rawconstr_of_aconstr loc (Reserve.find_reserved_type id) | Anonymous -> raise Not_found with Not_found -> RHole (loc, Evd.BinderType na)) | x -> x |