]> matita.cs.unibo.it Git - helm.git/commitdiff
revert last commit, context' -> context (added comment)
authorEnrico Tassi <enrico.tassi@inria.fr>
Sun, 18 May 2008 19:03:13 +0000 (19:03 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Sun, 18 May 2008 19:03:13 +0000 (19:03 +0000)
helm/software/components/cic_disambiguation/disambiguate.ml

index 237edff305dc52821b64b303d469140c95bf7124..41c24c9ae5a11065df8c8ccc9e5c632911c60cac 100644 (file)
@@ -380,7 +380,9 @@ let interpretate_term ?(create_dummy_ids=false) ~(context: Cic.name list) ~env ~
                 if localize then
                  match body with
                     CicNotationPt.AttributedTerm (_,CicNotationPt.Appl(_::l)) ->
-                     let l' = List.map (aux ~localize loc context') l in
+                     (* since we avoid the letin, the context has no
+                      * recfuns in it *)
+                     let l' = List.map (aux ~localize loc context) l in
                       `AvoidLetIn (n,l')
                   | _ -> assert false
                 else