Commit f59332f9 authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski Committed by Ben Gamari

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
parent 87b28a83
...@@ -4115,7 +4115,10 @@ xFlagsDeps = [ ...@@ -4115,7 +4115,10 @@ xFlagsDeps = [
flagSpec "AlternativeLayoutRuleTransitional" flagSpec "AlternativeLayoutRuleTransitional"
LangExt.AlternativeLayoutRuleTransitional, LangExt.AlternativeLayoutRuleTransitional,
flagSpec "Arrows" LangExt.Arrows, 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 "BangPatterns" LangExt.BangPatterns,
flagSpec "BinaryLiterals" LangExt.BinaryLiterals, flagSpec "BinaryLiterals" LangExt.BinaryLiterals,
flagSpec "CApiFFI" LangExt.CApiFFI, flagSpec "CApiFFI" LangExt.CApiFFI,
......
...@@ -4453,7 +4453,7 @@ Deriving ``Data`` instances ...@@ -4453,7 +4453,7 @@ Deriving ``Data`` instances
.. extension:: DeriveDataTypeable .. extension:: DeriveDataTypeable
:shortdesc: Enable deriving for the Data class. :shortdesc: Enable deriving for the Data class.
Implied by :extension:`AutoDeriveTypeable`. Implied by (deprecated) :extension:`AutoDeriveTypeable`.
:since: 6.8.1 :since: 6.8.1
......
...@@ -7,7 +7,7 @@ Stephanie Weirich, Richard Eisenberg, and Dimitrios Vytiniotis, 2016. -} ...@@ -7,7 +7,7 @@ Stephanie Weirich, Richard Eisenberg, and Dimitrios Vytiniotis, 2016. -}
{-# LANGUAGE RankNTypes, PolyKinds, TypeOperators, {-# LANGUAGE RankNTypes, PolyKinds, TypeOperators,
ScopedTypeVariables, GADTs, FlexibleInstances, ScopedTypeVariables, GADTs, FlexibleInstances,
UndecidableInstances, RebindableSyntax, UndecidableInstances, RebindableSyntax,
DataKinds, MagicHash, AutoDeriveTypeable #-} DataKinds, MagicHash #-}
{-# OPTIONS_GHC -Wno-missing-methods -Wno-redundant-constraints #-} {-# OPTIONS_GHC -Wno-missing-methods -Wno-redundant-constraints #-}
{-# OPTIONS_GHC -Wno-simplifiable-class-constraints #-} {-# OPTIONS_GHC -Wno-simplifiable-class-constraints #-}
-- Because we define a local Typeable class and have -- Because we define a local Typeable class and have
......
{-# LANGUAGE AutoDeriveTypeable #-}
{-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE DataKinds #-} {-# LANGUAGE DataKinds #-}
{-# LANGUAGE PolyKinds #-} {-# LANGUAGE PolyKinds #-}
......
{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE TypeSynonymInstances #-} {-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE AutoDeriveTypeable #-}
{-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeFamilies #-}
module T7710 where module T7710 where
......
{-# LANGUAGE AutoDeriveTypeable, DataKinds, StandaloneDeriving #-} {-# LANGUAGE DataKinds, StandaloneDeriving #-}
module T8950 where module T8950 where
......
{-# LANGUAGE AutoDeriveTypeable, GADTs, DataKinds, KindSignatures, StandaloneDeriving, TypeOperators #-} {-# LANGUAGE GADTs, DataKinds, KindSignatures, StandaloneDeriving, TypeOperators #-}
module T10348 where module T10348 where
......
{-# LANGUAGE AutoDeriveTypeable, PolyKinds, TypeFamilies, StandaloneDeriving #-} {-# LANGUAGE PolyKinds, TypeFamilies, StandaloneDeriving #-}
module T9999 where module T9999 where
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment