aboutsummaryrefslogtreecommitdiff
path: root/interp/constrextern.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2017-01-16 13:22:42 +0100
committerEmilio Jesus Gallego Arias2017-04-24 23:58:23 +0200
commitbe83b52cf50ed4c596e40cfd52da03258a7a4a18 (patch)
tree92e1e62378d2274751ab46673e2ee56fe4f65999 /interp/constrextern.ml
parentad3aab9415b98a247a6cbce05752632c3c42391c (diff)
[location] Move Glob_term.predicate_pattern to located.
We continue the uniformization pass. No big news here, trying to be minimally invasive.
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 b3059f5d04..d45f3a9f1f 100644
--- a/interp/constrextern.ml
+++ b/interp/constrextern.ml
@@ -749,7 +749,7 @@ let rec extern inctx scopes vars r =
| Name _, _ -> Some (Loc.ghost,na) in
(sub_extern false scopes vars tm,
na',
- Option.map (fun (loc,ind,nal) ->
+ Option.map (fun (loc,(ind,nal)) ->
let args = List.map (fun x -> Loc.tag @@ PatVar x) nal in
let fullargs = add_cpatt_for_params ind args in
extern_ind_pattern_in_scope scopes vars ind fullargs