File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ and open_ env parent = function
400
400
let rec unit env t =
401
401
let open Compilation_unit in
402
402
let content =
403
- if t.Lang.Compilation_unit. linked || t. hidden then t.content
403
+ if t.hidden then t.content
404
404
else
405
405
match t.content with
406
406
| Module sg ->
@@ -1145,7 +1145,8 @@ and type_expression : Env.t -> Id.Signature.t -> _ -> _ =
1145
1145
| Package p -> Package (type_expression_package env parent visited p)
1146
1146
1147
1147
let link ~filename x y =
1148
- Lookup_failures. catch_failures ~filename (fun () -> unit x y)
1148
+ Lookup_failures. catch_failures ~filename (fun () ->
1149
+ if y.Lang.Compilation_unit. linked then y else unit x y)
1149
1150
1150
1151
let page env page =
1151
1152
let () =
You can’t perform that action at this time.
0 commit comments