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: 4209 Reporter: Julien Signoles Status: acknowledged (set by @gasche on 2013-06-29T10:11:33Z) Resolution: suspended Priority: low Severity: feature Version: 3.09.2 Category: ocamldoc Monitored by: dario Yoric
Bug description
$ mkdir a
$ touch a.ml a/a.ml
$ ocamlopt -c -I a -for-pack P a/a.ml
$ ocamlopt -c a.ml
$ ocamlopt -o p.cmx -pack -I a a/a.cmx
$ ocamldoc -I a a/a.ml a.ml
Fatal error: exception Failure("There are two implementations of module A.")
Additional information
Of course, without -pack one cannot have two compilation unit of the same name, and one can understand that ocamldoc doesn't handle that. But with -pack, the situation is different: we have two modules A and P.A, which is perfectly valid and works with ocamldc and ocamlopt, but not ocamldoc.
The text was updated successfully, but these errors were encountered:
One would need to add a -pack option to ocamldoc, which it currently doesn't support. This would be rather heavy to implement, for an use case that seems quite exceptional. I'll mark that as "feature wish".
Il faudrait une option -pack à ocamldoc, ce qui n'est pas le cas et est assez lourd à implémenter, pour un usage plutôt exceptionnel il me semble.
Je le passe donc en souhait de fonctionnalité.
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: 4209
Reporter: Julien Signoles
Status: acknowledged (set by @gasche on 2013-06-29T10:11:33Z)
Resolution: suspended
Priority: low
Severity: feature
Version: 3.09.2
Category: ocamldoc
Monitored by: dario Yoric
Bug description
$ mkdir a
$ touch a.ml a/a.ml
$ ocamlopt -c -I a -for-pack P a/a.ml
$ ocamlopt -c a.ml
$ ocamlopt -o p.cmx -pack -I a a/a.cmx
$ ocamldoc -I a a/a.ml a.ml
Fatal error: exception Failure("There are two implementations of module A.")
Additional information
Of course, without -pack one cannot have two compilation unit of the same name, and one can understand that ocamldoc doesn't handle that. But with -pack, the situation is different: we have two modules A and P.A, which is perfectly valid and works with ocamldc and ocamlopt, but not ocamldoc.
The text was updated successfully, but these errors were encountered: