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 <damien.doligez@inria.fr>
  • Loading branch information
rozlynd and damiendoligez authored Jan 24, 2024
1 parent 25fdb66 commit 3a4c947
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 @@ -658,8 +658,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 3a4c947

Please sign in to comment.