Original bug ID: 4618
Reporter: Julien Signoles
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:07:27Z)
Resolution: not fixable
Priority: normal
Severity: minor
OS: Linux Ubuntu
Version: 3.10.2
Target version: 4.01.0+dev
Category: ~DO NOT USE (was: OCaml general)
Related to: #8427 #4081 #7470
Bug description
Hello,
Consider the following files a.ml and b.ml:
=== a.ml ===
module B = struct end
=== b.ml ===
open A
open B
$ ocamldep a.ml b.ml
b.cmo: b.cmo a.cmo
b.cmx: b.cmx a.cmx
Additional information
ocamldep has not the same scope rules for modules than ocaml[c|opt].
This bug is related to bugs #1996 and #4081 but here circular dependencies are generated and GNU make complains...