You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dune is unable to find a solution for the above package because it both depends on and conflicts with the package bar. However if we add an additional conflict dune will be able to find a solution:
Dune will now happily choose bar as part of the package solution despite it appearing in conflicts. Note that if bar is repeated in conflicts rather than introducing a new conflicting package (ie. (conflicts bar bar)) then dune works as expected.
For example, if you have a dune-project with a single conflict it will be respected:
Dune is unable to find a solution for the above package because it both depends on and conflicts with the package
bar
. However if we add an additional conflict dune will be able to find a solution:Dune will now happily choose
bar
as part of the package solution despite it appearing inconflicts
. Note that ifbar
is repeated in conflicts rather than introducing a new conflicting package (ie.(conflicts bar bar)
) then dune works as expected.Repro: #11266
The text was updated successfully, but these errors were encountered: