summaryrefslogtreecommitdiff
path: root/compiler/InterpreterStatements.ml
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-06-04 10:31:37 +0200
committerGitHub2024-06-04 10:31:37 +0200
commit4a31acdff7a5dfdc26bf25ad25bb8266b790f891 (patch)
tree06fd30cde129490abe2fb938ee5bb6ba97f81cb2 /compiler/InterpreterStatements.ml
parent170ce1c399d3ae6b2ff9485037eae4d89e7879f2 (diff)
parentd53dcc06e69b6d607261781b4bfc09c52b737a91 (diff)
Merge pull request #230 from W95Psp/follow-up-charon-pr-209
Diffstat (limited to '')
-rw-r--r--compiler/InterpreterStatements.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/InterpreterStatements.ml b/compiler/InterpreterStatements.ml
index c6a65757..c60be905 100644
--- a/compiler/InterpreterStatements.ml
+++ b/compiler/InterpreterStatements.ml
@@ -950,6 +950,7 @@ let rec eval_statement (config : config) (st : statement) : stl_cm_fun =
let cc =
match rvalue with
| Global _ -> craise __FILE__ __LINE__ st.span "Unreachable"
+ | Len _ -> craise __FILE__ __LINE__ st.span "Unhandled Len"
| Use _
| RvRef (_, (BShared | BMut | BTwoPhaseMut | BShallow))
| UnaryOp _ | BinaryOp _ | Discriminant _ | Aggregate _ ->