This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
Marking modules as private
|
||||
|
||||
$ cat >dune-project <<EOF
|
||||
> (lang dune 3.7)
|
||||
> EOF
|
||||
|
||||
$ cat >dune <<EOF
|
||||
> (include_subdirs qualified)
|
||||
> (library
|
||||
> (name foolib)
|
||||
> (private_modules baz/foo))
|
||||
> EOF
|
||||
|
||||
$ mkdir baz
|
||||
$ touch baz/foo.ml
|
||||
|
||||
$ dune build
|
||||
File "dune", line 4, characters 18-25:
|
||||
4 | (private_modules baz/foo))
|
||||
^^^^^^^
|
||||
Error: Module Baz/foo doesn't exist.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue