X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_disambiguation%2Fnumber_notation.ml;h=9dece04ecda69100013d0f04c265b5b93ef8c7bf;hb=3c8abd24ff28dfd95f1428dae80c5807a328e9ae;hp=781deb90e210629c60c26cd75ca192f790c90191;hpb=6e61c5884aa89838a04659f90dc8d210e3703502;p=helm.git diff --git a/helm/software/components/cic_disambiguation/number_notation.ml b/helm/software/components/cic_disambiguation/number_notation.ml index 781deb90e..9dece04ec 100644 --- a/helm/software/components/cic_disambiguation/number_notation.ml +++ b/helm/software/components/cic_disambiguation/number_notation.ml @@ -40,7 +40,7 @@ let _ = (fun _ num _ -> let num = int_of_string num in if num = 0 then - raise (DisambiguateTypes.Invalid_choice (lazy "0 is not a valid positive number")) + raise (DisambiguateTypes.Invalid_choice (None, lazy "0 is not a valid positive number")) else HelmLibraryObjects.build_bin_pos num)); DisambiguateChoices.add_num_choice @@ -55,4 +55,3 @@ let _ = HelmLibraryObjects.build_bin_pos num ] else assert false)) -