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,19 @@
$ echo "(lang dune 2.0)" > dune-project
$ cat > dune <<EOF
> (library (name foo) (libraries (select foo.ml from (!bar -> f.ml))))
> EOF
$ dune build
File "dune", line 1, characters 60-64:
1 | (library (name foo) (libraries (select foo.ml from (!bar -> f.ml))))
^^^^
Error: The format for files in this select branch must be foo.{name}.ml
[1]
$ cat > dune <<EOF
> (library (name foo) (libraries (select foo.ml from (!bar -> foo.mli))))
> EOF
$ dune build
File "dune", line 1, characters 60-67:
1 | (library (name foo) (libraries (select foo.ml from (!bar -> foo.mli))))
^^^^^^^
Error: The format for files in this select branch must be foo.{name}.ml
[1]