File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cabal-install-solver/src/Distribution/Solver/Modular Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ summarizeMessages = go 0
159
159
-- By prepending (i : is) we reverse the order of the instances.
160
160
goPReject l qpn (i : is) c fr ms
161
161
goPReject l qpn is c fr ms =
162
- Step (SummarizedMsg $ AtLevel l $ (EntryRejectMany qpn is c fr)) (go l ms)
162
+ Step (SummarizedMsg $ AtLevel l $ (EntryRejectMany qpn ( reverse is) c fr)) (go l ms)
163
163
164
164
-- Handle many subsequent skipped package instances.
165
165
goPSkip :: Int
@@ -173,7 +173,7 @@ summarizeMessages = go 0
173
173
-- By prepending (i : is) we reverse the order of the instances.
174
174
goPSkip l qpn (i : is) conflicts ms
175
175
goPSkip l qpn is conflicts ms =
176
- Step (SummarizedMsg $ AtLevel l $ (EntrySkipMany qpn is conflicts)) (go l ms)
176
+ Step (SummarizedMsg $ AtLevel l $ (EntrySkipMany qpn ( reverse is) conflicts)) (go l ms)
177
177
178
178
-- | Display the set of 'Conflicts' for a skipped package version.
179
179
showConflicts :: Set CS. Conflict -> String
@@ -291,7 +291,7 @@ showOptions q xs = showQPN q ++ "; " ++ (L.intercalate ", "
291
291
[if isJust linkedTo
292
292
then showOption q x
293
293
else showI i -- Don't show the package, just the version
294
- | x@ (POption i linkedTo) <- reverse xs
294
+ | x@ (POption i linkedTo) <- xs
295
295
])
296
296
297
297
showGR :: QGoalReason -> String
You can’t perform that action at this time.
0 commit comments