From: jpm@cs.uu.nl Date: Fri, 4 Feb 2011 13:52:44 +0000 (+0000) Subject: We should not use XGenerics in ghc-prim, for now at least. X-Git-Tag: ghc-darcs-git-switchover~1 X-Git-Url: http://git.megacz.com/?p=ghc-prim.git;a=commitdiff_plain;h=a7bd533a3dfb03c754e85333bf176fc8b4dfcbfa We should not use XGenerics in ghc-prim, for now at least. --- diff --git a/GHC/Generics.hs b/GHC/Generics.hs index c1b962d..9dde8b1 100644 --- a/GHC/Generics.hs +++ b/GHC/Generics.hs @@ -21,6 +21,7 @@ data (:*:) a b = a :*: b {-# OPTIONS_GHC -XTypeOperators #-} {-# OPTIONS_GHC -XKindSignatures #-} {-# OPTIONS_GHC -XFunctionalDependencies #-} +{-# OPTIONS_GHC -XNoGenerics #-} module GHC.Generics ( -- * Generic representation types diff --git a/GHC/Ordering.hs b/GHC/Ordering.hs index ebc1e23..95831de 100644 --- a/GHC/Ordering.hs +++ b/GHC/Ordering.hs @@ -1,5 +1,6 @@ {-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# OPTIONS_GHC -XNoGenerics #-} module GHC.Ordering where diff --git a/GHC/Tuple.hs b/GHC/Tuple.hs index 01ece26..334275a 100644 --- a/GHC/Tuple.hs +++ b/GHC/Tuple.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# OPTIONS_GHC -XNoGenerics #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Tuple diff --git a/GHC/Types.hs b/GHC/Types.hs index 0d7d7f8..ca63c31 100644 --- a/GHC/Types.hs +++ b/GHC/Types.hs @@ -15,6 +15,7 @@ ----------------------------------------------------------------------------- {-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# OPTIONS_GHC -XNoGenerics #-} module GHC.Types (Bool(..), Char(..), Int(..), Float(..), Double(..), IO(..)) where diff --git a/GHC/Unit.hs b/GHC/Unit.hs index 09ebe73..976881b 100644 --- a/GHC/Unit.hs +++ b/GHC/Unit.hs @@ -1,5 +1,6 @@ {-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# OPTIONS_GHC -XNoGenerics #-} module GHC.Unit where