summaryrefslogtreecommitdiff
path: root/compiler/InterpreterExpansion.ml
diff options
context:
space:
mode:
authorSon Ho2023-10-25 11:40:31 +0200
committerSon Ho2023-10-25 11:40:31 +0200
commitece74df70f12790bab7ecfe0c590c2c637e89801 (patch)
treedaee3bda9d393c33942b8cdcb6a7d975ad275f05 /compiler/InterpreterExpansion.ml
parent9c230dddebb171ee1b3e0176838441163836b875 (diff)
Update following the addition of raw pointers
Diffstat (limited to '')
-rw-r--r--compiler/InterpreterExpansion.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/InterpreterExpansion.ml b/compiler/InterpreterExpansion.ml
index 167e3d58..b267bb51 100644
--- a/compiler/InterpreterExpansion.ml
+++ b/compiler/InterpreterExpansion.ml
@@ -696,7 +696,8 @@ let greedy_expand_symbolics_with_borrows (config : C.config) : cm_fun =
raise
(Failure
"Attempted to greedily expand an ADT which can't be expanded ")
- | T.TypeVar _ | T.Literal _ | Never | T.TraitType _ | T.Arrow _ ->
+ | T.TypeVar _ | T.Literal _ | Never | T.TraitType _ | T.Arrow _
+ | T.RawPtr _ ->
raise (Failure "Unreachable")
in
(* Compose and continue *)