summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-10-06 12:20:00 +0000
committerIan Lynagh <igloo@earth.li>2010-10-06 12:20:00 +0000
commitdfef22cd11cf08e9440af75a6abe2979562db9f2 (patch)
tree0390d4a8a2c188da7b01273656cc2626a2ce5550 /compiler
parent5231445e104fa0227978909b47066ed1f012d325 (diff)
downloadhaskell-dfef22cd11cf08e9440af75a6abe2979562db9f2.tar.gz
Remove Opt_GADTs and Opt_TypeFamilies from -fglasgow-exts
This means most code doesn't get caught by monomorphic local bindings.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/main/DynFlags.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index ae683f91de..f5cfe74625 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -1777,7 +1777,6 @@ glasgowExtsFlags :: [ExtensionFlag]
glasgowExtsFlags = [
Opt_ForeignFunctionInterface
, Opt_UnliftedFFITypes
- , Opt_GADTs
, Opt_ImplicitParams
, Opt_ScopedTypeVariables
, Opt_UnboxedTuples
@@ -1805,8 +1804,7 @@ glasgowExtsFlags = [
, Opt_ParallelListComp
, Opt_EmptyDataDecls
, Opt_KindSignatures
- , Opt_GeneralizedNewtypeDeriving
- , Opt_TypeFamilies ]
+ , Opt_GeneralizedNewtypeDeriving ]
#ifdef GHCI
-- Consult the RTS to find whether GHC itself has been built profiled