Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers On branch : master
http://hackage.haskell.org/trac/ghc/changeset/390a14662d98dd73256762f9d02eedb6632a250d >--------------------------------------------------------------- commit 390a14662d98dd73256762f9d02eedb6632a250d Author: Johan Tibell <[email protected]> Date: Wed Jan 18 08:52:26 2012 -0800 Fix GHC HEAD build breakages GHC HEAD adds a warning for SPECIALISE pragmas that will never fire and Data.Sequence contains such a pragma. >--------------------------------------------------------------- Data/Sequence.hs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/Data/Sequence.hs b/Data/Sequence.hs index 1513bbf..5f430ab 100644 --- a/Data/Sequence.hs +++ b/Data/Sequence.hs @@ -5,6 +5,18 @@ #if __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Trustworthy #-} #endif +{-# OPTIONS_GHC -Wwarn #-} + +-- The above -Wwarn is due to e.g. +-- +-- {-# INLINE deep #-} +-- {-# SPECIALIZE INLINE deep :: Digit (Elem a) -> FingerTree (Node (Elem a)) +-- -> Digit (Elem a) -> FingerTree (Elem a) #-} +-- +-- SPECIALISE really is wrong here. We should either specialise or +-- inline. Not sure which is wanted. Newer GHCs will emit a warning +-- in this case. + ----------------------------------------------------------------------------- -- | -- Module : Data.Sequence _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
