From a7bd533a3dfb03c754e85333bf176fc8b4dfcbfa Mon Sep 17 00:00:00 2001 From: "jpm@cs.uu.nl" Date: Fri, 4 Feb 2011 13:52:44 +0000 Subject: [PATCH] We should not use XGenerics in ghc-prim, for now at least. --- GHC/Generics.hs | 1 + GHC/Ordering.hs | 1 + GHC/Tuple.hs | 1 + GHC/Types.hs | 1 + GHC/Unit.hs | 1 + 5 files changed, 5 insertions(+) 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 -- 1.7.10.4