X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Ftactics%2Ftacticals.ml;h=8414698e783f25c0a4da517720caa5602a52e0f9;hb=67460d22396d5fc3a5dffce07b2779e4b7960582;hp=57660310badd2935b53972670170313f3816b27f;hpb=17f33fa8cb65de1f3edcba6ac750bbdb4d061117;p=helm.git diff --git a/helm/ocaml/tactics/tacticals.ml b/helm/ocaml/tactics/tacticals.ml index 57660310b..8414698e7 100644 --- a/helm/ocaml/tactics/tacticals.ml +++ b/helm/ocaml/tactics/tacticals.ml @@ -222,7 +222,7 @@ let thens' ~start ~continuations ~status = let prova_tac = let apply_T_tac ~status:((proof,goal) as status) = let curi,metasenv,pbo,pty = proof in - let metano,context,gty = List.find (function (m,_,_) -> m=goal) metasenv in + let metano,context,gty = CicUtil.lookup_meta goal metasenv in let rel = let rec find n = function