Skip to content
Snippets Groups Projects
Commit 49b91e09 authored by Vladislav Zavialov's avatar Vladislav Zavialov
Browse files

Add RequiredTypeArguments to known extensions

parent 519d2b44
No related branches found
No related tags found
No related merge requests found
......@@ -663,6 +663,9 @@ data KnownExtension =
-- | Enable linear types.
| LinearTypes
-- | Allow the use of visible forall in types of terms.
| RequiredTypeArguments
-- | Enable the generation of selector functions corresponding to record fields.
| FieldSelectors
......
......@@ -27,9 +27,9 @@ tests = testGroup "Distribution.Utils.Structured"
-- The difference is in encoding of newtypes
#if MIN_VERSION_base(4,7,0)
, testCase "GenericPackageDescription" $
md5Check (Proxy :: Proxy GenericPackageDescription) 0x227c04c63afe656449d6feb7220e5194
md5Check (Proxy :: Proxy GenericPackageDescription) 0xa3e9433662ecf0c7a3c26f6d75a53ba1
, testCase "LocalBuildInfo" $
md5Check (Proxy :: Proxy LocalBuildInfo) 0x4ec3f95ae75fea8422b1c5e15724f1a4
md5Check (Proxy :: Proxy LocalBuildInfo) 0x05ef40b1f97c55be526f63ea4cdacae1
#endif
]
......
......@@ -208,6 +208,7 @@ syn keyword cabalExtension contained
\ LexicalNegation
\ LiberalTypeSynonyms
\ LinearTypes
\ RequiredTypeArguments
\ MagicHash
\ MonadComprehensions
\ MonadFailDesugaring
......@@ -345,6 +346,7 @@ syn keyword cabalExtension contained
\ NoLexicalNegation
\ NoLiberalTypeSynonyms
\ NoLinearTypes
\ NoRequiredTypeArguments
\ NoMagicHash
\ NoMonadComprehensions
\ NoMonadFailDesugaring
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment