Skip to content

Commit 0359c7f

Browse files
committed
Remove duplicate check
1 parent 4a578bf commit 0359c7f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

analysis/src/LocalTables.ml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ let populateValues ~env localTables =
3131
Hashtbl.find_opt localTables.valueTable
3232
(declared.name.txt, declared.name.loc |> Loc.start)
3333
with
34-
| Some
35-
{modulePath = ModulePath.IncludedModule _; name = existingName}
36-
when declared.name.txt = existingName.txt ->
34+
| Some {modulePath = ModulePath.IncludedModule _} ->
3735
(* Don't override an included module declared item with an Exported one *)
3836
()
3937
| _ ->

0 commit comments

Comments
 (0)