summaryrefslogtreecommitdiff
path: root/compiler/InterpreterExpressions.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/InterpreterExpressions.ml
parent170ce1c399d3ae6b2ff9485037eae4d89e7879f2 (diff)
parentd53dcc06e69b6d607261781b4bfc09c52b737a91 (diff)
Merge pull request #230 from W95Psp/follow-up-charon-pr-209
Diffstat (limited to 'compiler/InterpreterExpressions.ml')
-rw-r--r--compiler/InterpreterExpressions.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/InterpreterExpressions.ml b/compiler/InterpreterExpressions.ml
index 2223897c..56c0ab5f 100644
--- a/compiler/InterpreterExpressions.ml
+++ b/compiler/InterpreterExpressions.ml
@@ -816,6 +816,7 @@ let eval_rvalue_not_global (config : config) (span : Meta.span)
"Unreachable: discriminant reads should have been eliminated from the \
AST"
| Global _ -> craise __FILE__ __LINE__ span "Unreachable"
+ | Len _ -> craise __FILE__ __LINE__ span "Unhandled Len"
let eval_fake_read (config : config) (span : Meta.span) (p : place) : cm_fun =
fun ctx ->