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

bug in -pack #3537

Closed
vicuna opened this issue Aug 19, 2002 · 1 comment
Closed

bug in -pack #3537

vicuna opened this issue Aug 19, 2002 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 19, 2002

Original bug ID: 1336
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Charles Martin
Version: 3.06 via CVS at 1715 UTC today
OS: FreeBSD 4.6
Submission from: adsl-63-195-80-23.dsl.snfc21.pacbell.net (63.195.80.23)

Module names are not hidden by -pack:

$ cat a/foo.ml
let foo x = x + x
$ cd a; ocamlc -pack -o apack.cmo foo.ml; cd ..
$ cat b/foo.ml
let foo x = x +. x
$ cd b; ocamlc -pack -o bpack.cmo foo.ml; cd ..
$ cat foo.ml
let foo a b = Apack.Foo.foo a, Bpack.Foo.foo b
$ ocamlc -c -I a -I b foo.ml
The compiled interfaces a/apack.cmi and b/bpack.cmi
make inconsistent assumptions over interface Foo

@vicuna
Copy link
Author

vicuna commented Aug 23, 2002

Comment author: administrator

Fixed in 3.06

@vicuna vicuna closed this as completed Aug 23, 2002
@vicuna vicuna mentioned this issue Mar 14, 2019
@vicuna vicuna added the bug label Mar 19, 2019
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

1 participant