summaryrefslogtreecommitdiff
path: root/src/Values.ml
diff options
context:
space:
mode:
authorSon Ho2022-01-06 16:18:40 +0100
committerSon Ho2022-01-06 16:18:40 +0100
commit407474a35b7dd80116c8d358873d25e1a9b49048 (patch)
tree144db170be9a2a69984d5513eb12c0d8dc790e67 /src/Values.ml
parent12752a3e62a53c56753cb58f044cd6d277f19734 (diff)
Fix some bugs
Diffstat (limited to '')
-rw-r--r--src/Values.ml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Values.ml b/src/Values.ml
index ac4145eb..47bdda23 100644
--- a/src/Values.ml
+++ b/src/Values.ml
@@ -518,7 +518,11 @@ and aborrow_content =
*)
(* TODO: we may want to merge this with typed_value - would prevent some issues
- when accessing fields... *)
+ when accessing fields....
+
+ TODO: the type of avalues doesn't make sense for loan avalues: they currently
+ are typed as `& (mut) T` instead of `T`...
+*)
and typed_avalue = { value : avalue; ty : rty }
[@@deriving
show,