Skip to content
Snippets Groups Projects
Commit 995e6b5a authored by Fonenantsoa Maurica's avatar Fonenantsoa Maurica
Browse files

No coercion in mmodel_call_with_ranges

parent 2567cf83
No related branches found
No related tags found
No related merge requests found
......@@ -762,7 +762,8 @@ and mmodel_call_with_ranges ~loc kf name ctx env t mmodel_call_default =
in
let t' = Logic_const.taddrof ~loc (TVar lv, toffset') lty_noset in
let p_quantified =
let loc = Some (loc :> Cil_types.location) in
(* [loc] prevents a type error with eta-expansion and label *)
let loc = Some loc in
let call f = f ?loc (Logic_const.here_label, t') in
match name with
| "valid" -> call Logic_const.pvalid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment