summaryrefslogtreecommitdiff
path: root/compiler/InterpreterExpansion.ml
diff options
context:
space:
mode:
authorSon Ho2023-10-24 17:34:17 +0200
committerSon Ho2023-10-24 17:34:17 +0200
commitc3c7ca132b0dc0c4ea9205876932decda63baca1 (patch)
tree9b4842202b9f3cb06ae43e6619154e36a5ba01c3 /compiler/InterpreterExpansion.ml
parentc27c3052ec3f9a093b06a41f56b3a361cb65e950 (diff)
parentf11d5186b467df318f7c09eedf8b5629c165b453 (diff)
Merge branch 'son_traits_arrow' into protz_numeric
Diffstat (limited to '')
-rw-r--r--compiler/InterpreterExpansion.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/InterpreterExpansion.ml b/compiler/InterpreterExpansion.ml
index ea692386..c1041fa3 100644
--- a/compiler/InterpreterExpansion.ml
+++ b/compiler/InterpreterExpansion.ml
@@ -709,7 +709,7 @@ 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.TypeVar _ | T.Literal _ | Never | T.TraitType _ | T.Arrow _ ->
raise (Failure "Unreachable")
in
(* Compose and continue *)