You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
That's a "well known" problem of ocamldep, moreover it's very hard to avoid.
Indeed to know what contains a module without typing it unfeasible (however an approximation could), and the goal of ocamldep is to run before compiling files.
I've already thought about solutions of this problem (better approximations) but never took the time to push it forward.
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...
The text was updated successfully, but these errors were encountered: