From f59332f92b30306675da22150de092eeebbf55f3 Mon Sep 17 00:00:00 2001 From: Krzysztof Gogolewski Date: Fri, 6 Jul 2018 10:59:43 -0400 Subject: 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 --- compiler/main/DynFlags.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compiler/main/DynFlags.hs') 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, -- cgit v1.2.1