]> matita.cs.unibo.it Git - helm.git/commitdiff
apply_tac used to calculate the type of the term before generalizing on explicit...
authorEnrico Tassi <enrico.tassi@inria.fr>
Wed, 15 Jun 2005 11:39:45 +0000 (11:39 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Wed, 15 Jun 2005 11:39:45 +0000 (11:39 +0000)
helm/ocaml/tactics/primitiveTactics.ml

index 7bbdbf6b068ece8400f291b3fc459a115076ba8a..c155d81cc1115248fbc3597c8b8aa5824e93db76 100644 (file)
@@ -328,12 +328,10 @@ let apply_tac_verbose ~term (proof, goal) =
    in
    let metasenv' = metasenv@newmetasenvfragment in
    let termty,_ = 
-     CicTypeChecker.type_of_aux' metasenv' context term CicUniv.empty_ugraph in
+     CicTypeChecker.type_of_aux' metasenv' context term' CicUniv.empty_ugraph in
    let termty =
      CicSubstitution.subst_vars exp_named_subst_diff termty
    in
-(*   prerr_endline ("term:" ^ CicPp.ppterm term);*)
-(*   prerr_endline ("termty:" ^ CicPp.ppterm termty);*)
    let subst,newmetasenv',t = 
      try
        new_metasenv_and_unify_and_t newmeta' metasenv' proof context term' ty