diff options
author | Son Ho | 2023-01-06 01:10:51 +0100 |
---|---|---|
committer | Son HO | 2023-02-03 11:21:46 +0100 |
commit | a2e52dd8e4f53600c74744026aeae15d99d104b0 (patch) | |
tree | ad5c81fd1e9763955d1c8250d3dc730f39f678d5 /compiler/ValuesUtils.ml | |
parent | 852ee63cb876d419d4830eb5192604d58b07b495 (diff) |
Fix an issue with the translation of loops::clear
Diffstat (limited to 'compiler/ValuesUtils.ml')
-rw-r--r-- | compiler/ValuesUtils.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ValuesUtils.ml b/compiler/ValuesUtils.ml index 4612b019..abbfad31 100644 --- a/compiler/ValuesUtils.ml +++ b/compiler/ValuesUtils.ml @@ -159,7 +159,7 @@ let rec value_strip_shared_loans (v : typed_value) : typed_value = (** Check if a symbolic value has borrows *) let symbolic_value_has_borrows (infos : TA.type_infos) (sv : symbolic_value) : bool = - ty_has_borrow_under_mut infos sv.sv_ty + ty_has_borrows infos sv.sv_ty (** Check if a value has borrows in **a general sense**. |