From: Ian Lynagh Date: Wed, 6 Oct 2010 12:20:00 +0000 (+0000) Subject: Remove Opt_GADTs and Opt_TypeFamilies from -fglasgow-exts X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=dfef22cd11cf08e9440af75a6abe2979562db9f2 Remove Opt_GADTs and Opt_TypeFamilies from -fglasgow-exts This means most code doesn't get caught by monomorphic local bindings. --- diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index ae683f9..f5cfe74 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