diff options
author | Son Ho | 2021-12-17 15:52:35 +0100 |
---|---|---|
committer | Son Ho | 2021-12-17 15:52:35 +0100 |
commit | 46205d1ef9c59e7db199bee3aaf8cd1a2dcd42f4 (patch) | |
tree | 140eda564ff9c085a8c8c6a2fda72335afce4691 /src/Interpreter.ml | |
parent | adbbaf5d6e241808c79dbef4f736dbadc562a173 (diff) |
Change the definition of abstract_shared_borrows
Diffstat (limited to 'src/Interpreter.ml')
-rw-r--r-- | src/Interpreter.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Interpreter.ml b/src/Interpreter.ml index 708b1632..2a9db410 100644 --- a/src/Interpreter.ml +++ b/src/Interpreter.ml @@ -673,9 +673,8 @@ let rec apply_proj_borrows (regions : T.RegionId.set_t) (v : V.typed_value) let bv = apply_proj_borrows regions bv ref_ty in V.AIgnoredMutBorrow bv | V.SharedBorrow bid, T.Shared -> - (* TODO *) + (* TODO: we need the context to lookup the value *) raise Unimplemented - (* V.AIgnoredSharedBorrow bid*) | V.InactivatedMutBorrow _, _ -> failwith "Can't apply a proj_borrow over an inactivated mutable borrow" |