Skip to content

Commit

Permalink
Update translate.ml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcpouzet committed Oct 31, 2024
1 parent 932cae6 commit 08ebec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/gencode/translate.ml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ let rec exp env loop_path code { Zelus.e_desc = desc } =
let code_body = result env r in
let code_body = add_mem_vars_to_code code_body mem_acc var_acc in
machine k pat_list code_body ty, code
| Ereset(e, r_e) ->
| Zelus.Ereset(e, r_e) ->
let { init = i_code } = code in
let e, ({ init = ri_code } as r_code) =
exp env loop_path empty_code e in
Expand Down

0 comments on commit 08ebec4

Please sign in to comment.