File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -292,28 +292,12 @@ module Analysis = struct
292
292
inner
293
293
294
294
and module_expr env parent mexpr =
295
- let open Odoc_model.Names in
296
295
match mexpr.mod_desc with
297
296
| Tmod_ident _ -> []
298
297
| Tmod_structure str ->
299
298
let sg = structure env parent str in
300
299
sg
301
- | Tmod_functor (parameter , res ) ->
302
- let env =
303
- match parameter with
304
- | Unit -> env
305
- | Named (id_opt , _ , _arg ) ->
306
- let env =
307
- match id_opt with
308
- | Some id ->
309
- env_wrap
310
- (Ident_env. add_parameter parent id
311
- (ModuleName. of_ident id))
312
- env
313
- | None -> env
314
- in
315
- env
316
- in
300
+ | Tmod_functor (_ , res ) ->
317
301
let res =
318
302
module_expr env (Odoc_model.Paths.Identifier.Mk. result parent) res
319
303
in
You can’t perform that action at this time.
0 commit comments