Remove mention of recursive aliases from error message
all aliases are non recursive
This commit is contained in:
parent
192f6681e0
commit
02a4c59654
|
@ -65,7 +65,7 @@ let dep_rec ~loc ~file_tree t =
|
|||
~else_:(Build.arr (fun x -> x)))
|
||||
>>^ fun is_empty ->
|
||||
if is_empty && not (is_standard name) then
|
||||
Loc.fail loc "This recursive alias is empty.\n\
|
||||
Loc.fail loc "This alias is empty.\n\
|
||||
Alias %S is not defined in %s or any of its descendants."
|
||||
name (Path.to_string_maybe_quoted path)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
running in src
|
||||
$ $JBUILDER build -j1 --root . @plop
|
||||
File "<command-line>", line 1, characters 0-0:
|
||||
Error: This recursive alias is empty.
|
||||
Error: This alias is empty.
|
||||
Alias "plop" is not defined in . or any of its descendants.
|
||||
[1]
|
||||
$ $JBUILDER build -j1 --root . @truc/x
|
||||
|
|
Loading…
Reference in New Issue