]> matita.cs.unibo.it Git - helm.git/commitdiff
bug in constraint generation for variables fixed
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Mon, 6 Sep 2004 11:28:23 +0000 (11:28 +0000)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Mon, 6 Sep 2004 11:28:23 +0000 (11:28 +0000)
helm/ocaml/mathql_generator/cGMatchConclusion.ml

index 42d52a7ac9c6e873fccc950b2b9f28bf6ee93434..8d6aed90818268acaae7238b4bf6433576195c4c 100644 (file)
@@ -72,8 +72,11 @@ let levels_of_term metasenv context term =
       | Cic.Sort _                       -> l 
       | Cic.Implicit _                   -> l 
       | Cic.Var (u,exp_named_subst)      ->
-         let l' = inspect_uri main l u [] v term in
+         inspect_exp_named_subst l (succ v) exp_named_subst
+(*
+        let l' = inspect_uri main l u [] v term in
           inspect_exp_named_subst l' (succ v) exp_named_subst
+*)      
       | Cic.Const (u,exp_named_subst)    ->
          let l' = inspect_uri main l u [] v term in
           inspect_exp_named_subst l' (succ v) exp_named_subst