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 reports incorrect dependency #4081

Closed
vicuna opened this issue Aug 11, 2006 · 0 comments
Closed

ocamldep reports incorrect dependency #4081

vicuna opened this issue Aug 11, 2006 · 0 comments
Assignees
Labels
Milestone

Comments

@vicuna
Copy link

vicuna commented Aug 11, 2006

Original bug ID: 4081
Reporter: @fpottier
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:07:29Z)
Resolution: not fixable
Priority: normal
Severity: minor
Version: 3.09.1
Target version: 4.01.0+dev
Category: ~DO NOT USE (was: OCaml general)
Related to: #8427 #4618 #7470

Bug description

ocamldep gets confused when opening modules that contain nested sub-modules.
The file attached below (sigs.mli) presents the problem. The file contains
no references to external modules, yet when ocamldep is run it will report
a dependency on an external module called "Word". (That is, "ocamldep sigs.mli"
produces "sigs.cmi: word.cmi" if the file word.mli exists.)

Steps to reproduce

save sigs.mli (attached to disk)
touch word.mli
ocamldep sigs.mli

File attachments

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

No branches or pull requests

2 participants