Skip to content

Commit 448922b

Browse files
committed
Ignore {value/constructor}_path unused value
Signed-off-by: Paul-Elliot <[email protected]>
1 parent da46a16 commit 448922b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/xref2/compile.ml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ and class_type_path : Env.t -> Paths.Path.ClassType.t -> Paths.Path.ClassType.t
7474
| Ok p' -> `Resolved Lang_of.(Path.resolved_class_type (empty ()) p')
7575
| Error _ -> p)
7676

77+
let () =
78+
(* Until those are used *)
79+
ignore value_path;
80+
ignore constructor_path
81+
7782
let rec unit env t =
7883
let open Compilation_unit in
7984
let source_info =

src/xref2/link.ml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,11 @@ let constructor_path :
194194
in
195195
p)
196196

197+
let () =
198+
(* Until those are used *)
199+
ignore value_path;
200+
ignore constructor_path
201+
197202
let class_type_path : Env.t -> Paths.Path.ClassType.t -> Paths.Path.ClassType.t
198203
=
199204
fun env p ->

0 commit comments

Comments
 (0)