Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need to raise invalid arg because that is what we're catching in: ``` (* If [user_var] is selected, don't select an incompatible version of the optional dependency. We don't need to do this explicitly in the [essential] case, because we must select a good version and we can't select two. *) (try S.at_most_one sat (user_var :: fail) |> ignore with | Invalid_argument reason -> (* Explicitly conflicts with itself! *) S.at_least_one sat [ S.neg user_var ] ~reason) ``` Signed-off-by: Rudi Grinberg <[email protected]>
- Loading branch information