fix(preprocess): type check was invalid

This commit is contained in:
Simon Cruanes 2022-09-11 14:50:18 -04:00
parent c18b824037
commit 2764882f50
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -61,7 +61,7 @@ let preprocess_term_ (self : t) acts (t : term) : term =
(* only accept a box (with possible side effect: new clauses, etc.) *) (* only accept a box (with possible side effect: new clauses, etc.) *)
Log.debugf 20 (fun k -> Log.debugf 20 (fun k ->
k "(@[smt.preprocess.tr@ %a@ :into %a@])" Term.pp t0 Term.pp u); k "(@[smt.preprocess.tr@ %a@ :into %a@])" Term.pp t0 Term.pp u);
assert (Term.(equal (ty t) (ty u))); assert (Term.(equal (ty t0) (ty u)));
u u
| None -> | None ->
(* just preprocess subterms *) (* just preprocess subterms *)