Skip to content

Commit

Permalink
feat(compiler): Use location for Unbound_label_with_alt error (#2196)
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake authored Nov 16, 2024
1 parent ce872ab commit 271d7cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/src/typed/env.re
Original file line number Diff line number Diff line change
Expand Up @@ -2594,7 +2594,8 @@ let () =
Module_not_found_in_module(loc, _, _, _) |
Type_not_found_in_module(loc, _, _) |
Unbound_module(loc, _) |
Unbound_label(loc, _)
Unbound_label(loc, _) |
Unbound_label_with_alt(loc, _, _)
) as err,
)
when loc != Location.dummy_loc =>
Expand Down

0 comments on commit 271d7cb

Please sign in to comment.