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 b5b1a89 commit e1bcb89
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 @@ -543,8 +543,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 e1bcb89

Please sign in to comment.