diff options
author | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-07-06 10:59:43 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-07-06 14:08:37 -0400 |
commit | f59332f92b30306675da22150de092eeebbf55f3 (patch) | |
tree | 967f2ec96e4dfdc6e6e4a860337340924bb169b4 /compiler/main/DynFlags.hs | |
parent | 87b28a83fa7ff772ae0c22cf5d3f3e88e24cf466 (diff) | |
download | haskell-f59332f92b30306675da22150de092eeebbf55f3.tar.gz |
Mark AutoDeriveTypeable as deprecated
Test Plan: validate
Reviewers: bgamari, alpmestan
Reviewed By: alpmestan
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #15342
Differential Revision: https://phabricator.haskell.org/D4933
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r-- | compiler/main/DynFlags.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 2ecbd6efb5..3957879436 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -4115,7 +4115,10 @@ xFlagsDeps = [ flagSpec "AlternativeLayoutRuleTransitional" LangExt.AlternativeLayoutRuleTransitional, flagSpec "Arrows" LangExt.Arrows, - flagSpec "AutoDeriveTypeable" LangExt.AutoDeriveTypeable, + depFlagSpecCond "AutoDeriveTypeable" LangExt.AutoDeriveTypeable + id + ("Typeable instances are created automatically " ++ + "for all types since GHC 8.2."), flagSpec "BangPatterns" LangExt.BangPatterns, flagSpec "BinaryLiterals" LangExt.BinaryLiterals, flagSpec "CApiFFI" LangExt.CApiFFI, |