Use correct syntax for error
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
parent
647f68dfe9
commit
813b8d9dbc
|
@ -159,7 +159,7 @@ module Map = struct
|
||||||
Some v
|
Some v
|
||||||
else
|
else
|
||||||
Syntax.Error.since (String_with_vars.Var.loc var)
|
Syntax.Error.since (String_with_vars.Var.loc var)
|
||||||
Stanza.syntax syntax_version
|
Stanza.syntax min_version
|
||||||
~what:(what var)
|
~what:(what var)
|
||||||
| Renamed_in (in_version, new_name) -> begin
|
| Renamed_in (in_version, new_name) -> begin
|
||||||
if syntax_version >= in_version then
|
if syntax_version >= in_version then
|
||||||
|
|
|
@ -53,5 +53,5 @@ This form does not exist, but displays an hint:
|
||||||
$ dune build --root jbuild-invalid @test-dep
|
$ dune build --root jbuild-invalid @test-dep
|
||||||
Entering directory 'jbuild-invalid'
|
Entering directory 'jbuild-invalid'
|
||||||
File "jbuild", line 5, characters 16-37:
|
File "jbuild", line 5, characters 16-37:
|
||||||
Error: Variable ${dep:generated-file} is only available since version 0.0 of the dune language
|
Error: Variable ${dep:generated-file} is only available since version 1.0 of the dune language
|
||||||
[1]
|
[1]
|
||||||
|
|
Loading…
Reference in New Issue