[commit: packages/containers] changelog-foldtree, cleaned_bugfix394, develop-0.6, develop-0.6-questionable, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-184-generic, revert-408-bugfix_394, zip-devel: Remove RoleAnnotations extension from containers.cabal. (1d555a4)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:34:25 UTC 2017


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

On branches: changelog-foldtree,cleaned_bugfix394,develop-0.6,develop-0.6-questionable,master,merge-doc-target,merge-fixes-5.9,merge-restrict-fix-5.8,revert-184-generic,revert-408-bugfix_394,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