summaryrefslogtreecommitdiff
path: root/compiler/InterpreterExpressions.ml
diff options
context:
space:
mode:
authorLucas Franceschino2024-06-03 16:53:09 +0200
committerLucas Franceschino2024-06-03 16:53:12 +0200
commitec039b63748c2a95f89c0538a843e18d3a51cdf3 (patch)
treec094722733426709f59f38a11819df2e2dd3f481 /compiler/InterpreterExpressions.ml
parent170ce1c399d3ae6b2ff9485037eae4d89e7879f2 (diff)
feat: basic handling for `RValue::Len`, following AeneasVerif/charon#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 ->