summaryrefslogtreecommitdiff
path: root/src/InterpreterUtils.ml
diff options
context:
space:
mode:
authorSon Ho2022-01-19 01:57:05 +0100
committerSon Ho2022-01-19 01:57:05 +0100
commit62a6cc50a80a499f39ba83a7810e2c94f595b421 (patch)
treecbf5f2f59ac59e11d75f11348d92d61b41e5e29b /src/InterpreterUtils.ml
parent2c93d514d6d62f8eccba47b1efefa2db1e56954e (diff)
Implement ty_has_borrow_under_mut
Diffstat (limited to '')
-rw-r--r--src/InterpreterUtils.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/InterpreterUtils.ml b/src/InterpreterUtils.ml
index be899c08..c3fe9781 100644
--- a/src/InterpreterUtils.ml
+++ b/src/InterpreterUtils.ml
@@ -234,7 +234,7 @@ let value_has_ret_symbolic_value_with_borrow_under_mut (ctx : C.eval_ctx)
method! visit_symbolic_value _ s =
match s.sv_kind with
| V.FunCallRet ->
- if ty_has_borrow_below_mut ctx.type_context.type_infos s.sv_ty then
+ if ty_has_borrow_under_mut ctx.type_context.type_infos s.sv_ty then
raise Found
else ()
| V.SynthInput -> ()