[Git][ghc/ghc][wip/andreask/ghc-bangs] Also enable ScopedTypeVariables

Andreas Klebinger gitlab at gitlab.haskell.org
Wed Jul 1 12:14:02 UTC 2020



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


Commits:
c7258cd7 by Andreas Klebinger at 2020-07-01T14:13:50+02:00
Also enable ScopedTypeVariables

- - - - -


2 changed files:

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


Changes:

=====================================
compiler/ghc.cabal.in
=====================================
@@ -96,9 +96,6 @@ Library
     if flag(dynamic-system-linker)
         CPP-Options: -DCAN_LOAD_DLL
 
-    Default-Extensions:
-        BangPatterns
-
     Other-Extensions:
         CPP
         DataKinds
@@ -118,7 +115,6 @@ Library
         NondecreasingIndentation
         RankNTypes
         RecordWildCards
-        ScopedTypeVariables
         StandaloneDeriving
         Trustworthy
         TupleSections
@@ -155,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
=====================================
@@ -73,8 +73,6 @@ Executable ghc
             GHCi.UI.Monad
             GHCi.UI.Tags
             GHCi.Util
-        Default-Extensions:
-            BangPatterns
         Other-Extensions:
             FlexibleInstances
             LambdaCase
@@ -103,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



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c7258cd7fa9912fd8c362a10a47fdc2580cd26ce
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/20200701/d1fff2ee/attachment-0001.html>


More information about the ghc-commits mailing list