diff options
author | Son Ho | 2022-01-06 17:44:17 +0100 |
---|---|---|
committer | Son Ho | 2022-01-06 17:44:17 +0100 |
commit | 7137e0733650e0ce37eff4ff805c95543f2c1161 (patch) | |
tree | c0bb8787f7ca826d0297b11d8706df47f3560a99 /src/Invariants.ml | |
parent | 808f21c06314ccbbe2a61835899c943b532c9783 (diff) |
Remove the symbolic_proj_comp def and make the set of ended regions a
field in the eval_ctx struct
Diffstat (limited to 'src/Invariants.ml')
-rw-r--r-- | src/Invariants.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Invariants.ml b/src/Invariants.ml index 11b00381..86fa3d46 100644 --- a/src/Invariants.ml +++ b/src/Invariants.ml @@ -433,8 +433,8 @@ let check_typing_invariant (ctx : C.eval_ctx) : unit = | Abstract (V.AMutBorrow (_, sv)) -> assert (Subst.erase_regions sv.V.ty = ty) | _ -> failwith "Inconsistent context")) - | V.Symbolic spc, ty -> - let ty' = Subst.erase_regions spc.V.svalue.V.sv_ty in + | V.Symbolic sv, ty -> + let ty' = Subst.erase_regions sv.V.sv_ty in assert (ty' = ty) | _ -> failwith "Erroneous typing"); (* Continue exploring to inspect the subterms *) |