aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
Diffstat (limited to 'interp')
-rw-r--r--interp/topconstr.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/interp/topconstr.ml b/interp/topconstr.ml
index c548d820db..2028d6de8e 100644
--- a/interp/topconstr.ml
+++ b/interp/topconstr.ml
@@ -202,6 +202,7 @@ let rec match_ alp metas sigma a1 a2 = match (a1,a2) with
match_ alp metas (match_ alp metas sigma c1 c2) t1 t2
| RSort (_,s1), ASort s2 when s1 = s2 -> sigma
| RHole _, a -> sigma
+ | RMeta _, AHole _ -> (*Don't hide Metas, they bind in ltac*) raise No_match
| a, AHole _ -> sigma
| (RDynamic _ | RRec _ | REvar _), _
| _,_ -> raise No_match