[commit: Cabal] master: maintain chains of GoalReasons (0a20e59)
Ian Lynagh
igloo at earth.li
Fri Nov 4 18:06:24 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/0a20e596d1faa7ba9baf37c0ca50a07ec4558ef4
>---------------------------------------------------------------
commit 0a20e596d1faa7ba9baf37c0ca50a07ec4558ef4
Author: Andres Loeh <andres at well-typed.com>
Date: Tue Jun 21 07:51:36 2011 +0000
maintain chains of GoalReasons
Bugfix: conflict sets now contain the transitive closure of goal reasons,
which is required for completeness.
We now finally have sufficient info to produce good error messages, too.
At a failure site, we can trace which parts of the tree are relevant to
the failure, via the correctly generated conflict sets.
.../Client/Dependency/Modular/Builder.hs | 24 ++++++++++----------
.../Client/Dependency/Modular/Explore.hs | 2 +-
.../Client/Dependency/Modular/Message.hs | 8 +++++-
.../Client/Dependency/Modular/Preference.hs | 18 +++++++-------
.../Distribution/Client/Dependency/Modular/Tree.hs | 12 ++++++++-
.../Client/Dependency/Modular/Validate.hs | 14 +++++-----
6 files changed, 45 insertions(+), 33 deletions(-)
Diff suppressed because of size. To see it, use:
git show 0a20e596d1faa7ba9baf37c0ca50a07ec4558ef4
More information about the Cvs-libraries
mailing list