X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fcic_disambiguation%2FdisambiguateChoices.ml;h=c3fa7efb2805cf953cf9cee4545f69c416984ca5;hb=168875f6a0d701d2cfe420c5d514573209837249;hp=64d2cf8e0343155736784a6c67d9370fc9ab8343;hpb=f9ec0bd466364409050ffccc94e9cb863e2ddf28;p=helm.git diff --git a/helm/software/components/cic_disambiguation/disambiguateChoices.ml b/helm/software/components/cic_disambiguation/disambiguateChoices.ml index 64d2cf8e0..c3fa7efb2 100644 --- a/helm/software/components/cic_disambiguation/disambiguateChoices.ml +++ b/helm/software/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