Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001996OCamlOCaml generalpublic2003-12-23 11:412012-07-29 18:06
Reporteradministrator 
Assigned Tofrisch 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionnot fixable 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001996: ocamldep bad dependancy
DescriptionFull_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
  end

  open 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




TagsNo tags attached.
Attached Files

- Relationships
related to 0004081resolvedfrisch ocamldep reports incorrect dependency 
related to 0004618resolvedfrisch ocamldep generates circular dependencies which don't exist 

-  Notes
(0000197)
administrator (administrator)
2003-12-29 20:30

wish: an ocamldep that understands the module system -DD

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue
2008-10-08 13:17 doligez Relationship added related to 0004618
2008-10-08 13:17 doligez Relationship added related to 0004081
2012-07-29 18:06 frisch Status acknowledged => resolved
2012-07-29 18:06 frisch Resolution open => not fixable
2012-07-29 18:06 frisch Assigned To => frisch


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker