Hi David,

On Mon, Aug 08, 2011 at 05:29:07PM -0700, Builder wrote:
> 
> libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs:121:9:
>     Illegal `..' in record construction
>     Use -XRecordWildCards to permit this

Re:

    +++ b/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
    @@ -1,3 +1,6 @@
    +#if __GLASGOW_HASKELL__ >= 701
    +{-# LANGUAGE Trustworthy #-}
    +#endif
     {-# LANGUAGE RecordWildCards, TypeSynonymInstances, StandaloneDerivi
     {-# OPTIONS_GHC -fno-warn-name-shadowing #-}

unfortunately pragmas wrapped in conditionals like that need to go after
all other pragmas, as old versions of GHC (in particular 6.12, which we
still support bootstrapping with) stop parsing the LANGUAGE/OPTIONS*
pragmas once they see the #.


Thanks
Ian


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to