Skip to content

Commit a70bb7d

Browse files
committed
refactor(cabal-install-solver): improve messages
1 parent 059f001 commit a70bb7d

File tree

1 file changed

+1
-1
lines changed
  • cabal-install-solver/src/Distribution/Solver/Modular

1 file changed

+1
-1
lines changed

cabal-install-solver/src/Distribution/Solver/Modular/Message.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ showOption :: QPN -> POption -> String
263263
showOption qpn@(Q _pp pn) (POption i linkedTo) =
264264
case linkedTo of
265265
Nothing -> showQPN qpn ++ " == " ++ showI i
266-
Just pp' -> showQPN qpn ++ " ~> " ++ showQPN (Q pp' pn)
266+
Just pp' -> "to reuse " ++ showQPN (Q pp' pn) ++ " for " ++ showQPN qpn
267267

268268
-- | Shows a mixed list of instances and versions in a human-friendly way,
269269
-- abbreviated.

0 commit comments

Comments
 (0)