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: 6914 Reporter: berenger Assigned to:@damiendoligez Status: closed (set by @xavierleroy on 2017-02-16T14:15:12Z) Resolution: not a bug Priority: normal Severity: minor Version: 4.01.0 Category: tools (ocaml{lex,yacc,dep,debug,...}) Monitored by:@gasche
Bug description
Apparently, ocamldep is case sensitive on the first letter of a filename.
OK, this is probably not related to the case in fact but related to the
-I option.
This works:
$ ocamldep -modules UnionFind/UnionFind.ml
UnionFind/UnionFind.ml: Map Rename Set
this works too:
$ ocamldep -I UnionFind -modules UnionFind/UnionFind.ml
UnionFind/UnionFind.ml: Map Rename Set
This doesn't work:
$ ocamldep -I UnionFind -modules UnionFind.ml
I am not sure if this is a bug.
Please close this if I am wrong.
The interaction in your last message is reasonable: -I is only used for further name lookup, not for the initial name lookup (ocamlc also beahves this way). The example in your first message is a bit more perplexing, as you give the full path dist/build/lib-l1/Parser.mli.
Original bug ID: 6914
Reporter: berenger
Assigned to: @damiendoligez
Status: closed (set by @xavierleroy on 2017-02-16T14:15:12Z)
Resolution: not a bug
Priority: normal
Severity: minor
Version: 4.01.0
Category: tools (ocaml{lex,yacc,dep,debug,...})
Monitored by: @gasche
Bug description
Apparently, ocamldep is case sensitive on the first letter of a filename.
ocamldep.opt -I ./ -I dist/build/autogen -modules dist/build/lib-l1/parser.ml dist/build/lib-l1/parser.mli
-->
LogicSymbolicSet,Obj,Parsing,AST,Lexing
ocamldep.opt -I ./ -I dist/build/autogen -modules dist/build/lib-l1/Parser.ml dist/build/lib-l1/Parser.mli
-->
[]
The result of the first invocation is what we expect.
The result of the second invocation is problematic.
The text was updated successfully, but these errors were encountered: