-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ocamldep bad dependancy #8427
Copy link
Copy link
Closed
Labels
Description
Original bug ID: 1996
Reporter: administrator
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:07:28Z)
Resolution: not fixable
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Related to: #4081 #4618 #7470
Bug description
Full_Name: Frederic Besson
Version: 3.06 3.07+2
OS: Windows
Submission from: tide135.microsoft.com (213.199.144.166)
ocamldep does not correctly handle module scopes (with open)
Suppose that
-
a.ml exists
-
b.ml contains the definitions
module C = struct
module A = struct let id = "b.ml" end
endopen C
let _ = print_string A.id (* A.id refers to the inner module *)
However, ocamldep generates a dependancy with a.ml:
b.cmo: a.cmo
b.cmx: a.cmx
Reactions are currently unavailable