diff options
author | Son Ho | 2022-12-07 00:16:50 +0100 |
---|---|---|
committer | Son HO | 2023-02-03 11:21:46 +0100 |
commit | f18050b550a01f872e55c1adcb50c41a379d52e8 (patch) | |
tree | 75223e4be680865a05e933c42885ec96502ebef1 /compiler/Interpreter.ml | |
parent | 4ec66bc667d1c13ff3f3a4bcf6e9abbd6e198822 (diff) |
Implement [match_ctx_with_target]
Diffstat (limited to '')
-rw-r--r-- | compiler/Interpreter.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/Interpreter.ml b/compiler/Interpreter.ml index d8a99d80..4c1bc047 100644 --- a/compiler/Interpreter.ml +++ b/compiler/Interpreter.ml @@ -270,11 +270,13 @@ let evaluate_function_symbolic (synthesize : bool) (* Put everything together *) S.synthesize_forward_end fwd_e back_el else None + | EndEnterLoop -> failwith "Unimplemented" + | EndContinue -> failwith "Unimplemented" | Panic -> (* Note that as we explore all the execution branches, one of * the executions can lead to a panic *) if synthesize then Some SA.Panic else None - | _ -> + | Unit | Break _ | Continue _ -> raise (Failure ("evaluate_function_symbolic failed on: " ^ name_to_string ())) in |