diff options
author | Son Ho | 2022-11-06 18:10:59 +0100 |
---|---|---|
committer | Son HO | 2022-11-07 10:36:13 +0100 |
commit | 3b73918146ac060689526871fcbeb2baa6b429e7 (patch) | |
tree | 98aaaaac9cd1a8490c452cc0db2ea0e1ca2379e5 /compiler/InterpreterBorrows.ml | |
parent | 511b483f3ba8247aaf90ab648d54b37a04c39929 (diff) |
Add ids to the dummy variables
Diffstat (limited to '')
-rw-r--r-- | compiler/InterpreterBorrows.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/InterpreterBorrows.ml b/compiler/InterpreterBorrows.ml index 16aaf60a..c8a7ae7f 100644 --- a/compiler/InterpreterBorrows.ml +++ b/compiler/InterpreterBorrows.ml @@ -931,7 +931,7 @@ let rec end_borrow (config : C.config) (chain : borrow_or_abs_ids) * By doing that we should have ended the target borrow (see the * below sanity check) *) end_abstraction config chain abs_id - | VarId _, _ -> + | (VarId _ | DummyVarId _), _ -> (* The loan is not inside the same abstraction (actually inside * a non-abstraction value): we need to end the whole abstraction *) end_abstraction config chain abs_id |