[commit: ghc] master: Remove #ifdef with never fulfilled condition (b0ae0dd)

git at git.haskell.org git at git.haskell.org
Mon Sep 26 17:51:33 UTC 2016


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

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

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

commit b0ae0ddf4e5807e4d66e5da0f7acf68edd76e289
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon Sep 26 13:49:42 2016 -0400

    Remove #ifdef with never fulfilled condition
    
    __GLASGOW_HASKELL is a typo (should be __GLASGOW_HASKELL__), obviously,
    but nobody noticed.


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

b0ae0ddf4e5807e4d66e5da0f7acf68edd76e289
 compiler/hsSyn/HsTypes.hs | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/compiler/hsSyn/HsTypes.hs b/compiler/hsSyn/HsTypes.hs
index 008baef..6d82f92 100644
--- a/compiler/hsSyn/HsTypes.hs
+++ b/compiler/hsSyn/HsTypes.hs
@@ -91,10 +91,6 @@ import Maybes( isJust )
 import Data.Data hiding ( Fixity )
 import Data.Maybe ( fromMaybe )
 import Control.Monad ( unless )
-#if __GLASGOW_HASKELL > 710
-import Data.Semigroup   ( Semigroup )
-import qualified Data.Semigroup as Semigroup
-#endif
 
 {-
 ************************************************************************



More information about the ghc-commits mailing list