[commit: ghc] master: Express OPTIONS_GHC as LANGUAGE pragmas (9a58cac)

git at git.haskell.org git at git.haskell.org
Thu May 15 12:04:24 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9a58cac8c964ecd475bd8a7bbffc435f1ed130b2/ghc

>---------------------------------------------------------------

commit 9a58cac8c964ecd475bd8a7bbffc435f1ed130b2
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu May 15 13:52:14 2014 +0200

    Express OPTIONS_GHC as LANGUAGE pragmas
    
    These two instances were missed previously for some unknown reason
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

9a58cac8c964ecd475bd8a7bbffc435f1ed130b2
 libraries/base/GHC/IP.hs       | 2 +-
 libraries/base/GHC/TypeLits.hs | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libraries/base/GHC/IP.hs b/libraries/base/GHC/IP.hs
index 4794c05..95b00c1 100644
--- a/libraries/base/GHC/IP.hs
+++ b/libraries/base/GHC/IP.hs
@@ -2,7 +2,7 @@
 {-# LANGUAGE FunctionalDependencies #-}
 {-# LANGUAGE KindSignatures #-}
 {-# LANGUAGE DataKinds #-}
-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
+{-# LANGUAGE NoImplicitPrelude #-}
 
 -- | /Since: 4.6.0.0/
 module GHC.IP (IP(..)) where
diff --git a/libraries/base/GHC/TypeLits.hs b/libraries/base/GHC/TypeLits.hs
index 083ae4d..53a6004 100644
--- a/libraries/base/GHC/TypeLits.hs
+++ b/libraries/base/GHC/TypeLits.hs
@@ -9,7 +9,8 @@
 {-# LANGUAGE ExistentialQuantification #-}
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE UndecidableInstances #-}  -- for compiling instances of (==)
-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
+{-# LANGUAGE NoImplicitPrelude #-}
+
 {-| This module is an internal GHC module.  It declares the constants used
 in the implementation of type-level natural numbers.  The programmer interface
 for working with type-level naturals should be defined in a separate library.



More information about the ghc-commits mailing list