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: 5216 Reporter:@dra27 Status: acknowledged (set by @damiendoligez on 2011-05-17T14:38:54Z) Resolution: open Priority: normal Severity: feature Version: 3.12.0 Category: tools (ocaml{lex,yacc,dep,debug,...}) Related to:#3725
Bug description
Imagine A.ml contains simply the line:
B.foo ();;
When determining dependencies for A.cmx, ocamldep will look to see if it can find B.mli (in which case it will add B.cmi to the dependencies) or B.ml (in which case it will add B.cmx).
It doesn't however recognise B.mll or B.mly as containing the module B.
Given that ocamllex and ocamlyacc are official tools in the OCaml system, shouldn't ocamldep take their input files into account too? i.e. if I have A.ml (as above) and B.mll or B.mly in the same directory then ocamldep should include B.cmx in the dependencies for A.cmx.
Additional information
This looks related to Issue #4992, just that I'm suggesting that .mll and .mly should be synonyms for .ml by default.
The text was updated successfully, but these errors were encountered:
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 5216
Reporter: @dra27
Status: acknowledged (set by @damiendoligez on 2011-05-17T14:38:54Z)
Resolution: open
Priority: normal
Severity: feature
Version: 3.12.0
Category: tools (ocaml{lex,yacc,dep,debug,...})
Related to: #3725
Bug description
Imagine A.ml contains simply the line:
B.foo ();;
When determining dependencies for A.cmx, ocamldep will look to see if it can find B.mli (in which case it will add B.cmi to the dependencies) or B.ml (in which case it will add B.cmx).
It doesn't however recognise B.mll or B.mly as containing the module B.
Given that ocamllex and ocamlyacc are official tools in the OCaml system, shouldn't ocamldep take their input files into account too? i.e. if I have A.ml (as above) and B.mll or B.mly in the same directory then ocamldep should include B.cmx in the dependencies for A.cmx.
Additional information
This looks related to Issue #4992, just that I'm suggesting that .mll and .mly should be synonyms for .ml by default.
The text was updated successfully, but these errors were encountered: