summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Campbell2018-09-17 17:01:35 +0100
committerBrian Campbell2018-09-17 17:03:00 +0100
commit7c8bafec648d5fa57f13e4260198c4e4f03da31f (patch)
treeb0f2c4e0cd8c59908fa93821026c5dcef988c93f /src
parent83478340bb5007443c57e9f1facd3322b9422b7f (diff)
Coq: fix types in aarch64_extras undefined_vector and casts for arguments
Diffstat (limited to 'src')
-rw-r--r--src/pretty_print_coq.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pretty_print_coq.ml b/src/pretty_print_coq.ml
index 1614d8de..45efa798 100644
--- a/src/pretty_print_coq.ml
+++ b/src/pretty_print_coq.ml
@@ -1152,10 +1152,10 @@ let doc_exp, doc_let =
let typ_from_fn = Env.expand_synonyms env typ_from_fn in
(* TODO: more sophisticated check *)
let () =
- debug ctxt (lazy (" arg type found " ^ string_of_typ (general_typ_of arg)));
+ debug ctxt (lazy (" arg type found " ^ string_of_typ (typ_of arg)));
debug ctxt (lazy (" arg type expected " ^ string_of_typ typ_from_fn))
in
- let typ_of_arg = Env.expand_synonyms env (general_typ_of arg) in
+ let typ_of_arg = Env.expand_synonyms env (typ_of arg) in
let typ_of_arg = expand_range_type typ_of_arg in
let typ_of_arg' = match typ_of_arg with Typ_aux (Typ_exist (_,_,t),_) -> t | t -> t in
let typ_from_fn' = match typ_from_fn with Typ_aux (Typ_exist (_,_,t),_) -> t | t -> t in