aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/pattern.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/pattern.ml')
-rw-r--r--pretyping/pattern.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/pattern.ml b/pretyping/pattern.ml
index 979ecb0b1..b0fd76cb7 100644
--- a/pretyping/pattern.ml
+++ b/pretyping/pattern.ml
@@ -216,7 +216,7 @@ let rec pat_of_raw metas vars = function
PRef r
(* Hack pour ne pas réécrire une interprétation complète des patterns*)
| RApp (_, RPatVar (_,(true,n)), cl) ->
- PSoApp (n, List.map (pat_of_raw metas vars) cl)
+ metas := n::!metas; PSoApp (n, List.map (pat_of_raw metas vars) cl)
| RApp (_,c,cl) ->
PApp (pat_of_raw metas vars c,
Array.of_list (List.map (pat_of_raw metas vars) cl))