summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/interpreter.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpreter.ml b/src/interpreter.ml
index 24af75e2..bf60cc60 100644
--- a/src/interpreter.ml
+++ b/src/interpreter.ml
@@ -402,7 +402,7 @@ let rec step (E_aux (e_aux, annot) as orig_exp) =
end
| "excl_res" ->
begin match evaluated with
- | [] ->
+ | [_] ->
excl_res () >>= fun b -> return (exp_of_value (V_bool b))
| _ ->
fail "Wrong number of parameters to excl_res intrinsic"