diff options
author | Son Ho | 2022-01-27 11:43:59 +0100 |
---|---|---|
committer | Son Ho | 2022-01-27 11:43:59 +0100 |
commit | b2d5671516b60ae83778b26867a8e5b6060f519d (patch) | |
tree | 90aefb82bb32da8671a54543300a0a1155c2d8d7 /src/Values.ml | |
parent | 98677400fc27087ab4443094fb94a95412515422 (diff) |
Introduce AEndedSharedBorrow so as not to introduce ABottom when
ending shared aborrows
Diffstat (limited to '')
-rw-r--r-- | src/Values.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Values.ml b/src/Values.ml index 57d188da..25d354fb 100644 --- a/src/Values.ml +++ b/src/Values.ml @@ -681,6 +681,10 @@ and aborrow_content = in practice the child value should only contain ended borrows, ignored values, bottom values, etc. *) + | AEndedSharedBorrow + (** We don't really need [AEndedSharedBorrow]: we simply want to be + precise, and not insert ⊥ when ending borrows. + *) | AEndedIgnoredMutBorrow of { child : typed_avalue; given_back_loans_proj : typed_avalue; |