Skip to content

Commit

Permalink
deal with error when merging
Browse files Browse the repository at this point in the history
  • Loading branch information
Laplace-Demon committed Aug 13, 2024
1 parent 04c808c commit b3b825e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/text_to_binary/rewrite.ml
Original file line number Diff line number Diff line change
Expand Up @@ -538,10 +538,10 @@ let modul (modul : Assigned.t) : Binary.modul Result.t =
let* types = rewrite_named (rewrite_types modul) modul.typ in
let* start =
match modul.start with
| None -> None
| None -> Ok None
| Some id ->
let (Raw id) = find func id in
Some id
Ok (Some id)
in

let modul_without_annots : Binary.modul =
Expand Down

0 comments on commit b3b825e

Please sign in to comment.