Skip to content

Commit

Permalink
chore: clarify comment
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

<!-- ps-id: f007abff-ed51-4b73-9da8-58b8b0c6d5e4 -->
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
  • Loading branch information
rgrinberg committed Nov 4, 2024
1 parent 9190d09 commit afd57da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dune_pkg/opam_solver.ml
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ let resolve_depopts ~resolve depopts =
| Empty -> acc
| _ ->
(* We rely on depopts always being a list of or'ed package names. Opam
verifies this for us at parsing time. Dune projects have this
restriction for depopts and regular deps *)
verifies this for us at parsing time. Packages defined in dune-project
files have this restriction for depopts and regular deps *)
Code_error.raise "invalid depopts" [ "depopts", Opam_dyn.filtered_formula depopts ]
in
OpamFormula.ors_to_list depopts
Expand Down

0 comments on commit afd57da

Please sign in to comment.