Skip to content

Commit 271d7cb

Browse files
authored
feat(compiler): Use location for Unbound_label_with_alt error (#2196)
1 parent ce872ab commit 271d7cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/typed/env.re

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2594,7 +2594,8 @@ let () =
25942594
Module_not_found_in_module(loc, _, _, _) |
25952595
Type_not_found_in_module(loc, _, _) |
25962596
Unbound_module(loc, _) |
2597-
Unbound_label(loc, _)
2597+
Unbound_label(loc, _) |
2598+
Unbound_label_with_alt(loc, _, _)
25982599
) as err,
25992600
)
26002601
when loc != Location.dummy_loc =>

0 commit comments

Comments
 (0)