]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/tactics/proofEngineHelpers.ml
we have to pass back lastmeta and not newmeta (newmeta <= lastmeta).
[helm.git] / helm / ocaml / tactics / proofEngineHelpers.ml
index 23aa20bfb50cb30d4483e5fd2c04400281ce7934..51405f5fdfa7269f58c3b780b16484eb7b67e85d 100644 (file)
@@ -649,7 +649,7 @@ let saturate_term newmeta metasenv context ty goal_arity =
          in
           if prod_no + 1 = goal_arity then
            let head = CicReduction.normalize ~delta:false context ty in
-            head,[],[],newmeta,goal_arity + 1
+            head,[],[],lastmeta,goal_arity + 1
           else
            (** NORMALIZE RATIONALE 
             * we normalize the target only NOW since we may be in this case: