]> matita.cs.unibo.it Git - helm.git/commitdiff
Warning Y fixed.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 10 Jan 2006 12:00:24 +0000 (12:00 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 10 Jan 2006 12:00:24 +0000 (12:00 +0000)
helm/ocaml/cic_disambiguation/disambiguate.ml

index 71f582211f5530a407ae661b8a2c028072e7ab73..667c50770536bb7187df52a2cc460991b32cf20f 100644 (file)
@@ -614,7 +614,8 @@ let rec domain_rev_of_term ?(loc = HExtlib.dummy_floc) context = function
       where_dom @ defs_dom
   | CicNotationPt.Ident (name, subst) ->
       (try
-        let index = find_in_context name context in
+        (* the next line can raise Not_found *)
+        ignore(find_in_context name context);
         if subst <> None then
           CicNotationPt.fail loc "Explicit substitutions not allowed here"
         else