aboutsummaryrefslogtreecommitdiff
path: root/interp/constrextern.ml
diff options
context:
space:
mode:
authorHugo Herbelin2020-04-27 14:39:56 +0200
committerHugo Herbelin2020-10-10 22:13:59 +0200
commit2cf0287c9c863d7969fb5d4e85b7ca538dd103c2 (patch)
tree0dfa98a20514443017dcd81d165cdcb494e5743f /interp/constrextern.ml
parent03d55f990bb7a2c4f5c1fefa408b94a8a93e8d05 (diff)
Adding and using locations on identifiers in constr_expr where they were missing.
Diffstat (limited to 'interp/constrextern.ml')
-rw-r--r--interp/constrextern.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/constrextern.ml b/interp/constrextern.ml
index 43fef8685d..a609dd66c3 100644
--- a/interp/constrextern.ml
+++ b/interp/constrextern.ml
@@ -1391,7 +1391,7 @@ let rec glob_of_pat avoid env sigma pat = DAst.make @@ match pat with
| None -> Id.of_string "__"
| Some id -> id
in
- GEvar (id,List.map (on_snd (glob_of_pat avoid env sigma)) l)
+ GEvar (id,List.map (fun (id,c) -> (CAst.make id, glob_of_pat avoid env sigma c)) l)
| PRel n ->
let id = try match lookup_name_of_rel n env with
| Name id -> id