diff options
| author | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2013-03-08 08:04:37 +0000 |
|---|---|---|
| committer | Jose Pedro Magalhaes <jpm@cs.ox.ac.uk> | 2013-03-08 10:43:45 +0000 |
| commit | a684a5518f7bb6cf5ecaa72d28ba6d976c87e230 (patch) | |
| tree | c922e6776f65306f65db1bd3bd0a38993f9b21e2 /compiler | |
| parent | f6e9c261314878e9b5a0ad51edbf31ce0d4ba607 (diff) | |
| download | haskell-a684a5518f7bb6cf5ecaa72d28ba6d976c87e230.tar.gz | |
Make AutoDeriveTypeable imply DeriveDataTypeable
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/main/DynFlags.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 479516d50f..b179420c7f 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -2728,6 +2728,9 @@ impliedFlags , (Opt_TypeFamilies, turnOn, Opt_KindSignatures) -- Type families use kind signatures , (Opt_PolyKinds, turnOn, Opt_KindSignatures) -- Ditto polymorphic kinds + -- AutoDeriveTypeable is not very useful without DeriveDataTypeable + , (Opt_AutoDeriveTypeable, turnOn, Opt_DeriveDataTypeable) + -- We turn this on so that we can export associated type -- type synonyms in subordinates (e.g. MyClass(type AssocType)) , (Opt_TypeFamilies, turnOn, Opt_ExplicitNamespaces) |
