Skip to content

fix: do not hide lib interface module - #6549

Merged
emillon merged 2 commits into
mainfrom
ps/rr/fix__do_not_hide_lib_interface_module
Nov 24, 2022
Merged

emillon merged 2 commits into
mainfrom
ps/rr/fix__do_not_hide_lib_interface_module

Conversation

@rgrinberg

@rgrinberg rgrinberg commented Nov 23, 2022 •

Copy link
Copy Markdown
Member

When there's no lib interface module present, the alias module is designated as the lib interface module. In such cases, we shouldn't shadow itself in it.

Signed-off-by: Rudi Grinberg <[email protected]>

ps-id: f6931bc9-6cd8-4172-a865-fce524052fb7
@rgrinberg
rgrinberg force-pushed the ps/rr/fix__do_not_hide_lib_interface_module branch from 0a160f4 to 5b60193 Compare November 23, 2022 15:04
@rgrinberg rgrinberg added this to the 3.6.1 milestone Nov 23, 2022
@rgrinberg
rgrinberg requested a review from emillon November 23, 2022 15:12
@emillon
emillon merged commit 96fe384 into main Nov 24, 2022
@emillon
emillon deleted the ps/rr/fix__do_not_hide_lib_interface_module branch November 24, 2022 12:34
emillon added a commit to emillon/dune that referenced this pull request Nov 24, 2022
Signed-off-by: Rudi Grinberg <[email protected]>

ps-id: f6931bc9-6cd8-4172-a865-fce524052fb7

Co-authored-by: Etienne Millon <[email protected]>
emillon added a commit to emillon/dune that referenced this pull request Nov 24, 2022
Signed-off-by: Rudi Grinberg <[email protected]>

ps-id: f6931bc9-6cd8-4172-a865-fce524052fb7

Co-authored-by: Etienne Millon <[email protected]>
emillon added a commit that referenced this pull request Nov 24, 2022
Signed-off-by: Rudi Grinberg <[email protected]>

ps-id: f6931bc9-6cd8-4172-a865-fce524052fb7

Co-authored-by: Etienne Millon <[email protected]>
emillon added a commit to emillon/opam-repository that referenced this pull request Nov 24, 2022
…ne-site, dune-rpc, dune-rpc-lwt, dune-private-libs, dune-glob, dune-configurator, dune-build-info, dune-action-plugin and chrome-trace (3.6.1)

CHANGES:

- Fix status line enabled when ANSI colors are forced. (ocaml/dune#6503, @MisterDA)

- Fix build with MSVC compiler (ocaml/dune#6517, @nojb)

- Do not shadow library interface modules (ocaml/dune#6549, fixes ocaml/dune#6545, @rgrinberg)
jchavarri added a commit to jchavarri/dune that referenced this pull request Nov 24, 2022
* main: (58 commits)
  test: formatting of alternative dune files (ocaml#6567)
  refactor: remove Modules.is_empty (ocaml#6564)
  refactor: module kinds (ocaml#6562)
  refactor(coq): resolve lack of coqc properly
  Cache file contents in action builder by name. (ocaml#6555)
  fix: re-enable dune on older macos sdk's (ocaml#6515)
  fix: do not hide lib interface module (ocaml#6549)
  test: remove pkg-config output for reproducibility (ocaml#6543)
  melange: add test for ocaml flags (ocaml#6548)
  fix: improve virtual library error messages
  test: virtual library and impl locations
  test: alias module regression (ocaml#6544)
  refactor(merlin): dump config sub command (ocaml#6547)
  refactor: simplify merlin (ocaml#6508)
  chore(nix): use nix-overlays for the slim devShell (ocaml#6546)
  fix: module compilation rule env (ocaml#6527)
  chore: update nix (ocaml#6536)
  fix: merlin rules with pp's (ocaml#6474)
  Call [Dune_util.Log.init] as soon as possible (ocaml#6542)
  refactor: speed up stdlib build (ocaml#6524)
  ...
jchavarri added a commit to jchavarri/dune that referenced this pull request Nov 24, 2022
* main:
  test: formatting of alternative dune files (ocaml#6567)
  refactor: remove Modules.is_empty (ocaml#6564)
  refactor: module kinds (ocaml#6562)
  refactor(coq): resolve lack of coqc properly
  Cache file contents in action builder by name. (ocaml#6555)
  fix: re-enable dune on older macos sdk's (ocaml#6515)
  fix: do not hide lib interface module (ocaml#6549)
  test: remove pkg-config output for reproducibility (ocaml#6543)
  melange: add test for ocaml flags (ocaml#6548)
  fix: improve virtual library error messages
  test: virtual library and impl locations
  test: alias module regression (ocaml#6544)
  refactor(merlin): dump config sub command (ocaml#6547)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: auto-generated entry-point modules are being marked as deprecated

2 participants