This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,22 @@
Test alias module for wrapped libraries that don't have a main module, i.e. the
wrap module is generated by dune.
$ cat >dune-project <<EOF
> (lang dune 3.5)
> EOF
$ cat >dune <<EOF
> (library
> (name foo))
> EOF
$ touch bar.ml
$ dune build
$ cat _build/default/foo.ml-gen
(* generated by dune *)
(** @canonical Foo.Bar *)
module Bar = Foo__Bar
The final `Foo` module should not be marked as deprecated/shadowed, since it
does not shadow any module.