Skip to content

Commit 0e552c4

Browse files
committed
Fix DeadValue.ml
1 parent a2f017f commit 0e552c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

analysis/reanalyze/src/DeadValue.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ let rec collectExpr super self (e : Typedtree.expression) =
186186
{cstr_loc = {Location.loc_start = posTo; loc_ghost} as locTo; cstr_tag},
187187
_ ) ->
188188
(match cstr_tag with
189-
| Cstr_extension (path, _) ->
190-
path |> DeadException.markAsUsed ~locFrom ~locTo
189+
| Cstr_extension path -> path |> DeadException.markAsUsed ~locFrom ~locTo
191190
| _ -> ());
192191
if !Config.analyzeTypes && not loc_ghost then
193192
DeadType.addTypeReference ~posTo ~posFrom:locFrom.loc_start

0 commit comments

Comments
 (0)