diff --git a/src/dune_file.ml b/src/dune_file.ml index 924d42a6..d2116fcf 100644 --- a/src/dune_file.ml +++ b/src/dune_file.ml @@ -868,7 +868,9 @@ module Library = struct sum [ "true", return (Simple true) ; "false", return (Simple false) - ; "transition", string >>| fun x -> Yes_with_transition x + ; "transition", + Syntax.since Stanza.syntax (1, 2) >>= fun () -> + string >>| fun x -> Yes_with_transition x ] let field = field "wrapped" ~default:(Simple true) dparse