]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic_disambiguation/disambiguate.ml
One more bug fixed: we tried to perform List.nth on negative indexes.
[helm.git] / helm / software / components / cic_disambiguation / disambiguate.ml
index 4b17bef5dfa95eac5c2aabf11f643196c09f9d07..237edff305dc52821b64b303d469140c95bf7124 100644 (file)
@@ -380,7 +380,7 @@ 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
+                     let l' = List.map (aux ~localize loc context') l in
                       `AvoidLetIn (n,l')
                   | _ -> assert false
                 else