We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6154aab commit fd799b2Copy full SHA for fd799b2
cabal-install-solver/src/Distribution/Solver/Modular/Message.hs
@@ -293,11 +293,11 @@ showOption qpn@(Q _pp pn) (POption i linkedTo) =
293
showOptions :: QPN -> [POption] -> String
294
showOptions _ [] = "unexpected empty list of versions"
295
showOptions q [x] = showOption q x
296
-showOptions q xs = showQPN q ++ "; " ++ (L.intercalate ", "
+showOptions q xs = showQPN q ++ "; " ++ (L.intercalate ", " $ reverse
297
[if isJust linkedTo
298
then showOption q x
299
else showI i -- Don't show the package, just the version
300
- | x@(POption i linkedTo) <- reverse xs
+ | x@(POption i linkedTo) <- xs
301
])
302
303
showGR :: QGoalReason -> String
0 commit comments