Skip to content

ocamldep does not take included module types into account. #5870

@vicuna

Description

@vicuna

Original bug ID: 5870
Reporter: jm
Assigned to: @alainfrisch
Status: resolved (set by @alainfrisch on 2013-01-02T16:08:24Z)
Resolution: suspended
Priority: high
Severity: major
Version: 4.00.1
Category: tools (ocaml{lex,yacc,dep,debug,...})
Related to: #7470

Bug description

% head -n -0 *.ml
==> a.ml <==

==> t.ml <==
module type M
= sig
module A
: sig
type t
end
end
module type MM
= sig
include M
val a : A.t
end
% ocamlc -i t.ml
module type M = sig module A : sig type t end end
module type MM = sig module A : sig type t end val a : A.t end
% ocamldep t.ml
t.cmo : a.cmo
t.cmx : a.cmx

This dependency on a.cm[ox] should not be.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions