summaryrefslogtreecommitdiff
path: root/src/anf.ml
diff options
context:
space:
mode:
authorPeter Sewell2018-07-27 18:57:02 +0100
committerPeter Sewell2018-07-27 18:57:02 +0100
commit3755e6701a9286677fd2f4ca40a16305b360f9d9 (patch)
tree67766e537db5bb8dbfc6b59432b2786a88b76be3 /src/anf.ml
parent2a35c6b9e1cfac8ce34ef6fa7c264cfea4139002 (diff)
parente4af7c3090c93a129e99dd75f2a20d5a9d2f6920 (diff)
Merge branch 'sail2' of github.com:rems-project/sail into sail2
Diffstat (limited to 'src/anf.ml')
-rw-r--r--src/anf.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anf.ml b/src/anf.ml
index d0803d4f..97565b2b 100644
--- a/src/anf.ml
+++ b/src/anf.ml
@@ -660,7 +660,7 @@ let rec anf (E_aux (e_aux, ((l, _) as exp_annot)) as exp) =
failwith ("Encountered complex l-expression " ^ string_of_lexp lexp ^ " when converting to ANF")
| E_let (LB_aux (LB_val (pat, binding), _), body) ->
- anf (E_aux (E_case (binding, [Pat_aux (Pat_exp (pat, body), (Parse_ast.Unknown, None))]), exp_annot))
+ anf (E_aux (E_case (binding, [Pat_aux (Pat_exp (pat, body), (Parse_ast.Unknown, empty_tannot))]), exp_annot))
| E_tuple exps ->
let aexps = List.map anf exps in