X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fcic_disambiguation%2FdisambiguateChoices.ml;h=c3fa7efb2805cf953cf9cee4545f69c416984ca5;hb=refs%2Ftags%2F0.4.95%407852;hp=64d2cf8e0343155736784a6c67d9370fc9ab8343;hpb=6b018dd85365fcb4af1bb538c3198978c01cb24e;p=helm.git diff --git a/components/cic_disambiguation/disambiguateChoices.ml b/components/cic_disambiguation/disambiguateChoices.ml index 64d2cf8e0..c3fa7efb2 100644 --- a/components/cic_disambiguation/disambiguateChoices.ml +++ b/components/cic_disambiguation/disambiguateChoices.ml @@ -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