This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
Test alias module for wrapped libraries:
|
||||
|
||||
$ cat >dune-project <<EOF
|
||||
> (lang dune 3.5)
|
||||
> EOF
|
||||
|
||||
$ cat >dune <<EOF
|
||||
> (library
|
||||
> (name foo))
|
||||
> EOF
|
||||
$ touch foo.ml bar.ml
|
||||
|
||||
$ dune build
|
||||
$ cat _build/default/foo__.ml-gen
|
||||
(* generated by dune *)
|
||||
|
||||
(** @canonical Foo.Bar *)
|
||||
module Bar = Foo__Bar
|
||||
|
||||
module Foo__ = struct end
|
||||
[@@deprecated "this module is shadowed"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue