From 111b20c8c21abc73d0f277261934586b6c5960de Mon Sep 17 00:00:00 2001 From: Thomas Gazagnaire Date: Sun, 3 Sep 2023 13:05:43 +0200 Subject: [PATCH] Fix issue with #395 --- lib/opam_solve.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/opam_solve.ml b/lib/opam_solve.ml index 93d6e5350..e04dc2188 100644 --- a/lib/opam_solve.ml +++ b/lib/opam_solve.ml @@ -175,7 +175,7 @@ module Opam_monorepo_context (Base_context : BASE_CONTEXT) : match opam_res with | Ok opam -> if Opam.avoid_version opam then (regular, e :: avoid, broken) - else (regular, avoid, e :: broken) + else (e :: regular, avoid, broken) | Error _ -> (regular, avoid, e :: broken)) in List.rev_append regular (List.rev_append avoid broken)