fix(french_law): add wildcard argument to NoValueProvided constructor inside src/french_law/bench.ml in order to compile

This commit is contained in:
EmileRolley 2021-06-08 20:12:25 +02:00
parent e469854e86
commit 727e9944c8

View File

@ -72,10 +72,10 @@ let run_test () =
incr num_successful;
total_amount := Float.add !total_amount amount
with
| (NoValueProvided | ConflictError) as err ->
| (NoValueProvided _ | ConflictError) as err ->
Format.printf "%s\n%a\nincome: %d\ncurrent_date: %s\nresidence: %a\n"
(match err with
| NoValueProvided -> "No value provided somewhere!"
| NoValueProvided _ -> "No value provided somewhere!"
| ConflictError -> "Conflict error!"
| _ -> failwith "impossible")
(Format.pp_print_list (fun fmt child ->