]> matita.cs.unibo.it Git - helm.git/blobdiff - components/cic_disambiguation/disambiguateChoices.ml
1. More localization: interpretation errors are now loosely localized.
[helm.git] / components / cic_disambiguation / disambiguateChoices.ml
index 64d2cf8e0343155736784a6c67d9370fc9ab8343..c3fa7efb2805cf953cf9cee4545f69c416984ca5 100644 (file)
@@ -62,7 +62,7 @@ let mk_choice (dsc, args, appl_pattern) =
         try
          combine_with_rest names cic_args
         with Invalid_argument _ ->
-         raise (Invalid_choice (lazy ("The notation " ^ dsc ^ " expects more arguments")))
+         raise (Invalid_choice (None, lazy ("The notation " ^ dsc ^ " expects more arguments")))
     in
      let combined =
       TermAcicContent.instantiate_appl_pattern env' appl_pattern