Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamldep bad dependancy #8427

Closed
vicuna opened this issue Dec 23, 2003 · 1 comment
Closed

ocamldep bad dependancy #8427

vicuna opened this issue Dec 23, 2003 · 1 comment
Assignees

Comments

@vicuna
Copy link

vicuna commented Dec 23, 2003

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
    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

@vicuna
Copy link
Author

vicuna commented Dec 29, 2003

Comment author: administrator

wish: an ocamldep that understands the module system -DD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants