summaryrefslogtreecommitdiffstats
path: root/ocamldoc/odoc_ast.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocamldoc/odoc_ast.ml')
-rw-r--r--ocamldoc/odoc_ast.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ocamldoc/odoc_ast.ml b/ocamldoc/odoc_ast.ml
index a4da0f73a..dd106b4f0 100644
--- a/ocamldoc/odoc_ast.ml
+++ b/ocamldoc/odoc_ast.ml
@@ -944,12 +944,12 @@ module Analyser =
let f = match ele with
Element_module m ->
(function
- Types.Sig_module (ident,t,_) ->
+ Types.Sig_module (ident,md,_) ->
let n1 = Name.simple m.m_name
and n2 = Ident.name ident in
(
match n1 = n2 with
- true -> filter_module_with_module_type_constraint m t; true
+ true -> filter_module_with_module_type_constraint m md.md_type; true
| false -> false
)
| _ -> false)