summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-06-30 13:26:33 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-07-22 20:19:22 -0400
commit9f3ff8fd24b94c9d4a221e6aba3e21de42b0f02c (patch)
treecf418c9cb4ecec7dcbb67c3163cecf3dde466be2 /compiler/ghc.cabal.in
parente9491668640227a7ae7f6d0506d36af3a10cdd49 (diff)
downloadhaskell-9f3ff8fd24b94c9d4a221e6aba3e21de42b0f02c.tar.gz
Enable BangPatterns, ScopedTypeVariables for ghc and hadrian by default.
This is only for their respective codebases.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index dff5244f08..755ef4dab7 100644
--- a/compiler/ghc.cabal.in
+++ b/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