[commit: packages/containers] develop-0.6, develop-0.6-questionable, master, zip-devel: Remove RoleAnnotations extension from containers.cabal. (1d555a4)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:40:49 UTC 2015


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

On branches: develop-0.6,develop-0.6-questionable,master,zip-devel
Link       : http://git.haskell.org/packages/containers.git/commitdiff/1d555a4d7d2b902808d73c2fad4314672241e81d

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

commit 1d555a4d7d2b902808d73c2fad4314672241e81d
Author: Milan Straka <fox at ucw.cz>
Date:   Sun Oct 19 10:46:13 2014 +0200

    Remove RoleAnnotations extension from containers.cabal.
    
    We switch the language extensions in specific files. We only provide
    extensions for GHC pre 7.0, as it cannot enable extensions
    conditionally using CPP.


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

1d555a4d7d2b902808d73c2fad4314672241e81d
 containers.cabal | 2 --
 1 file changed, 2 deletions(-)

diff --git a/containers.cabal b/containers.cabal
index dcf36fd..815882e 100644
--- a/containers.cabal
+++ b/containers.cabal
@@ -64,8 +64,6 @@ Library
 
     if impl(ghc<7.0)
         extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
-    if impl(ghc >= 7.8)
-        extensions: RoleAnnotations
 
 -------------------
 -- T E S T I N G --



More information about the ghc-commits mailing list