summaryrefslogtreecommitdiff
path: root/compiler/PureUtils.ml
diff options
context:
space:
mode:
authorSon Ho2024-06-05 14:32:19 +0200
committerSon Ho2024-06-05 14:32:19 +0200
commit35c6b1c3c3dbd1b782cb00206c773021f5c74765 (patch)
treec103860afdc8c24c16ac8bbf1c705e956bf5a16a /compiler/PureUtils.ml
parentbaa0771885546816461e063131162b94c6954d86 (diff)
Add an option to run Aeneas as a borrow checker
Diffstat (limited to '')
-rw-r--r--compiler/PureUtils.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/PureUtils.ml b/compiler/PureUtils.ml
index e7dcd933..fe5d3414 100644
--- a/compiler/PureUtils.ml
+++ b/compiler/PureUtils.ml
@@ -241,7 +241,7 @@ let rec let_group_requires_parentheses (span : Meta.span) (e : texpression) :
msg (* TODO : check if true should'nt be returned instead ? *)
let texpression_requires_parentheses span e =
- match !Config.backend with
+ match Config.backend () with
| FStar | Lean -> false
| Coq | HOL4 -> let_group_requires_parentheses span e