mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
better error
This commit is contained in:
parent
cc090a4574
commit
082bfdd43a
1 changed files with 3 additions and 3 deletions
|
|
@ -29,10 +29,10 @@ let build (self : t) (sat : Solver.sat_result) : Model.t =
|
||||||
(fun v' ->
|
(fun v' ->
|
||||||
if not (Term.equal value v') then
|
if not (Term.equal value v') then
|
||||||
Error.errorf
|
Error.errorf
|
||||||
"Inconsistent model@ for fun `%a`,@ values %a@ map to `%a` and \
|
"Inconsistent model@ for fun `%a`,@ arguments %a@ map to `%a` \
|
||||||
`%a`"
|
and `%a` (already existing binding)@ found from term `%a`"
|
||||||
Term.pp f (Fmt.Dump.list Term.pp) v_args Term.pp value Term.pp
|
Term.pp f (Fmt.Dump.list Term.pp) v_args Term.pp value Term.pp
|
||||||
v')
|
v' Term.pp t)
|
||||||
other_v;
|
other_v;
|
||||||
(* save mapping *)
|
(* save mapping *)
|
||||||
m := Model.add_fun_entry f v_args value !m
|
m := Model.add_fun_entry f v_args value !m
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue