[Git][ghc/ghc][master] Enable BangPatterns, ScopedTypeVariables for ghc and hadrian by default.

Marge Bot gitlab at gitlab.haskell.org
Thu Jul 23 00:19:28 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
9f3ff8fd by Andreas Klebinger at 2020-07-22T20:19:22-04:00
Enable BangPatterns, ScopedTypeVariables for ghc and hadrian by default.

This is only for their respective codebases.

- - - - -


3 changed files:

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


Changes:

=====================================
compiler/ghc.cabal.in
=====================================
@@ -97,7 +97,6 @@ Library
         CPP-Options: -DCAN_LOAD_DLL
 
     Other-Extensions:
-        BangPatterns
         CPP
         DataKinds
         DeriveDataTypeable
@@ -116,7 +115,6 @@ Library
         NondecreasingIndentation
         RankNTypes
         RecordWildCards
-        ScopedTypeVariables
         StandaloneDeriving
         Trustworthy
         TupleSections
@@ -153,6 +151,8 @@ Library
     -- we use an explicit Prelude
     Default-Extensions:
         NoImplicitPrelude
+       ,BangPatterns
+       ,ScopedTypeVariables
 
     Exposed-Modules:
         GHC.Iface.Ext.Types


=====================================
ghc/ghc-bin.cabal.in
=====================================
@@ -74,7 +74,6 @@ Executable ghc
             GHCi.UI.Tags
             GHCi.Util
         Other-Extensions:
-            BangPatterns
             FlexibleInstances
             LambdaCase
             MagicHash
@@ -102,3 +101,5 @@ Executable ghc
     -- GHCi can be used to load it all at once.
     Default-Extensions:
         NoImplicitPrelude
+      , ScopedTypeVariables
+      , BangPatterns
\ No newline at end of file


=====================================
hadrian/hadrian.cabal
=====================================
@@ -131,6 +131,7 @@ executable hadrian
                        , RecordWildCards
                        , ScopedTypeVariables
                        , TupleSections
+                       , BangPatterns
     other-extensions:    MultiParamTypeClasses
                        , TypeFamilies
     build-depends:       Cabal                >= 3.0     && < 3.3



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9f3ff8fd24b94c9d4a221e6aba3e21de42b0f02c
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/20200722/44fced35/attachment-0001.html>


More information about the ghc-commits mailing list