From 9ce9ea5071af5c7a5b6fcef11ac6e19c14480901 Mon Sep 17 00:00:00 2001 From: HaskellMouse Date: Wed, 27 Apr 2022 06:19:45 +0300 Subject: Deprecate TypeInType extension This commit fixes #20312 It deprecates "TypeInType" extension according to the following proposal: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0083-no-type-in-type.rst It has been already implemented. The migration strategy: 1. Disable TypeInType 2. Enable both DataKinds and PolyKinds extensions Metric Decrease: T16875 --- libraries/base/GHC/Exception.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/base/GHC') diff --git a/libraries/base/GHC/Exception.hs b/libraries/base/GHC/Exception.hs index abaa308aec..1a3b039416 100644 --- a/libraries/base/GHC/Exception.hs +++ b/libraries/base/GHC/Exception.hs @@ -5,7 +5,7 @@ , RecordWildCards , PatternSynonyms #-} -{-# LANGUAGE TypeInType #-} +{-# LANGUAGE DataKinds, PolyKinds #-} {-# OPTIONS_HADDOCK not-home #-} ----------------------------------------------------------------------------- -- cgit v1.2.1