summaryrefslogtreecommitdiff
path: root/compiler/InterpreterBorrows.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/InterpreterBorrows.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/InterpreterBorrows.ml b/compiler/InterpreterBorrows.ml
index 64f379be..c71abe25 100644
--- a/compiler/InterpreterBorrows.ml
+++ b/compiler/InterpreterBorrows.ml
@@ -1595,7 +1595,7 @@ let destructure_abs (abs_kind : V.abs_kind) (can_end : bool)
(av : V.typed_avalue) : unit =
let ty = av.V.ty in
match av.V.value with
- | V.APrimitive _ | ABottom | AIgnored -> ()
+ | ABottom | AIgnored -> ()
| AAdt adt ->
(* Simply explore the children *)
List.iter (list_avalues allow_borrows push) adt.field_values