[Git][ghc/ghc][wip/andreask/ghc-bangs] Enable BangPatterns for ghc and hadrian projects by default.

Andreas Klebinger gitlab at gitlab.haskell.org
Tue Jun 30 11:28:19 UTC 2020



Andreas Klebinger pushed to branch wip/andreask/ghc-bangs at Glasgow Haskell Compiler / GHC


Commits:
e2bf9862 by Andreas Klebinger at 2020-06-30T13:28:09+02:00
Enable BangPatterns for ghc and hadrian projects by default.

- - - - -


3 changed files:

- compiler/ghc.cabal.in
- ghc/ghc-bin.cabal.in
- hadrian/hadrian.cabal


Changes:

=====================================
compiler/ghc.cabal.in
=====================================
@@ -96,8 +96,10 @@ Library
     if flag(dynamic-system-linker)
         CPP-Options: -DCAN_LOAD_DLL
 
-    Other-Extensions:
+    Default-Extensions:
         BangPatterns
+
+    Other-Extensions:
         CPP
         DataKinds
         DeriveDataTypeable


=====================================
ghc/ghc-bin.cabal.in
=====================================
@@ -73,8 +73,9 @@ Executable ghc
             GHCi.UI.Monad
             GHCi.UI.Tags
             GHCi.Util
-        Other-Extensions:
+        Default-Extensions:
             BangPatterns
+        Other-Extensions:
             FlexibleInstances
             LambdaCase
             MagicHash


=====================================
hadrian/hadrian.cabal
=====================================
@@ -130,6 +130,7 @@ executable hadrian
                        , RecordWildCards
                        , ScopedTypeVariables
                        , TupleSections
+                       , BangPatterns
     other-extensions:    MultiParamTypeClasses
                        , TypeFamilies
     build-depends:       base                 >= 4.8     && < 5



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e2bf9862f1e40ebd9dcc4e7842ccdf0c0db070cf

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e2bf9862f1e40ebd9dcc4e7842ccdf0c0db070cf
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200630/53291b74/attachment-0001.html>


More information about the ghc-commits mailing list