Skip to content

Commit f108a25

Browse files
committed
Consistent error message
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent 60bce9a commit f108a25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jbuild.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,8 @@ module Library = struct
844844
if dune_version >= (1, 1) then
845845
name
846846
else
847-
of_sexp_error loc "name field cannot be omitted before version 1.1"
847+
of_sexp_error loc "name field cannot be omitted before version \
848+
1.1 of the dune language"
848849
| None, None ->
849850
of_sexp_error loc (
850851
if dune_version >= (1, 1) then

0 commit comments

Comments
 (0)