Skip to content

Commit

Permalink
Update src/type/t_synth.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Damien Doligez <[email protected]>
  • Loading branch information
rozlynd and damiendoligez authored Jan 24, 2024
1 parent 4cf25fc commit 25fdb66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/type/t_synth.ml
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,8 @@ and expr_aux scx oe =
in
let oty02s =
if typelvl scx > 1 then try
Some (List.map (function TSet ty0 -> ty0 | _ -> failwith "") ty01s)
with _ -> None
Some (List.map (function TSet ty0 -> ty0 | _ -> raise Exit) ty01s)
with Exit -> None
else None
in
begin match oty02s with
Expand Down

0 comments on commit 25fdb66

Please sign in to comment.