diff options
author | Son Ho | 2022-01-18 23:03:55 +0100 |
---|---|---|
committer | Son Ho | 2022-01-18 23:03:55 +0100 |
commit | c0f230dc6c331e9eb120900e8c31a03e1f5ab476 (patch) | |
tree | 16ff97c6af5e85baab2e7f1af5456bd2854e057b /src/InterpreterExpansion.ml | |
parent | cdef093fedaadcc5694cb9f7d63a4bf9814d5573 (diff) |
Remove ty_has_regions and use ty_has_borrows instead
Diffstat (limited to 'src/InterpreterExpansion.ml')
-rw-r--r-- | src/InterpreterExpansion.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/InterpreterExpansion.ml b/src/InterpreterExpansion.ml index 8b039510..0842dee7 100644 --- a/src/InterpreterExpansion.ml +++ b/src/InterpreterExpansion.ml @@ -535,7 +535,7 @@ let greedy_expand_symbolics_with_borrows (config : C.config) (ctx : C.eval_ctx) inherit [_] C.iter_eval_ctx method! visit_Symbolic _ sv = - if ty_has_regions (Subst.erase_regions sv.V.sv_ty) then + if ty_has_borrows ctx.type_context.type_infos sv.V.sv_ty then raise (FoundSymbolicValue sv) else () |