diff options
author | HaskellMouse <rinat.stryungis@serokell.io> | 2022-04-27 06:19:45 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-06-06 09:50:00 -0400 |
commit | 9ce9ea5071af5c7a5b6fcef11ac6e19c14480901 (patch) | |
tree | 7d6113e6e2eef0cefebf4302dda8ff4bec157b73 /testsuite/tests/typecheck/should_compile/T15412.hs | |
parent | 5a3fdcfd615b502f123bb31f42d22577d44748ac (diff) | |
download | haskell-9ce9ea5071af5c7a5b6fcef11ac6e19c14480901.tar.gz |
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
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T15412.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/T15412.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T15412.hs b/testsuite/tests/typecheck/should_compile/T15412.hs index 6458ae0a74..3996b1da48 100644 --- a/testsuite/tests/typecheck/should_compile/T15412.hs +++ b/testsuite/tests/typecheck/should_compile/T15412.hs @@ -1,4 +1,4 @@ -{-# Language DataKinds, TypeInType, TypeFamilies, UndecidableInstances #-} +{-# Language DataKinds, PolyKinds, TypeFamilies, UndecidableInstances #-} module T15412 where |