duncan.coutts at worc.ox.ac.uk
Fri Jan 18 19:11:29 EST 2008
On Fri, 2008-01-18 at 14:09 +0000, Simon Peyton-Jones wrote:
> Please validate before committing. (Yes I know I sometimes don't too.)
> Two current problems:
> * Warning in FastBool
> * Warning in cabal:Distribution.Simple.Program
> (see below)
> Both kill validation since we use -Werror
> Warning: This binding for `update' shadows the existing binding
> imported from Distribution.Compat.Map at Distribution/Simple/Program.hs:87:0-46
> In the definition of `updateUnconfiguredProgs'
This must be an incorrect warning since we:
import qualified Distribution.Compat.Map as Map
So there is no name shadowing. 'Map.update' is in scope, 'update' is
not. This looks like a regression in ghc HEAD. I do not get the same
warning with ghc-6.8.2.
So that might also explain the validation error since I'd be pretty sure
that whoever pushed recent changes from Cabal HEAD to the ghc's branch
of Cabal would have validated since it's well known that Cabal changes
can affect the ghc build process in non-obvious ways.
More information about the Cvs-ghc