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,16 @@
Deps in diff position. Used to work in 2.9.x
$ touch foo foo.diff
$ cat >dune <<EOF
> (rule
> (deps foo)
> (alias foo)
> (action (diff? %{deps} %{deps}.diff)))
> EOF
$ echo "(lang dune 2.9)" > dune-project
$ dune build @foo
File "dune", line 4, characters 24-31:
4 | (action (diff? %{deps} %{deps}.diff)))
^^^^^^^
Error: %{deps} isn't allowed in this position.
[1]