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 @@
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]