diff options
author | Thomas Winant <thomas.winant@cs.kuleuven.be> | 2014-12-23 08:48:29 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-12-23 08:48:30 -0600 |
commit | 089222c9d6798c79179264e5c77c31d5c460a880 (patch) | |
tree | ffa95ef70c92e758f817c25ea730f36e6039a6ba /testsuite | |
parent | 6eb86a56135a9274d2c958a2ccf4df510c9dab86 (diff) | |
download | haskell-089222c9d6798c79179264e5c77c31d5c460a880.tar.gz |
Rename NamedWildcards flag to NamedWildCards
Summary:
Mind the capital C. As there is already a flag RecordWildCards with a capital
C, we should at least try to be consistent in the spelling of WildCards.
Test Plan: validate
Reviewers: goldfire, simonpj, austin
Reviewed By: simonpj, austin
Subscribers: carter, thomie
Differential Revision: https://phabricator.haskell.org/D584
Diffstat (limited to 'testsuite')
23 files changed, 23 insertions, 23 deletions
diff --git a/testsuite/tests/driver/T4437.hs b/testsuite/tests/driver/T4437.hs index 72f5f58b61..4120ae9047 100644 --- a/testsuite/tests/driver/T4437.hs +++ b/testsuite/tests/driver/T4437.hs @@ -36,7 +36,7 @@ expectedGhcOnlyExtensions = ["RelaxedLayout", "DeriveAnyClass", "PatternSynonyms", "PartialTypeSignatures", - "NamedWildcards", + "NamedWildCards", "StaticPointers"] expectedCabalOnlyExtensions :: [String] diff --git a/testsuite/tests/partial-sigs/should_compile/Either.hs b/testsuite/tests/partial-sigs/should_compile/Either.hs index 39337f57de..e74df6aed6 100644 --- a/testsuite/tests/partial-sigs/should_compile/Either.hs +++ b/testsuite/tests/partial-sigs/should_compile/Either.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module Either where barry :: _a -> (_b _a, _b _) diff --git a/testsuite/tests/partial-sigs/should_compile/EveryNamed.hs b/testsuite/tests/partial-sigs/should_compile/EveryNamed.hs index 3d91e3a613..9a06071d61 100644 --- a/testsuite/tests/partial-sigs/should_compile/EveryNamed.hs +++ b/testsuite/tests/partial-sigs/should_compile/EveryNamed.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module EveryNamed where every :: (_a -> Bool) -> [_a] -> Bool diff --git a/testsuite/tests/partial-sigs/should_compile/ExpressionSigNamed.hs b/testsuite/tests/partial-sigs/should_compile/ExpressionSigNamed.hs index 3be7bea64d..de91b00c6b 100644 --- a/testsuite/tests/partial-sigs/should_compile/ExpressionSigNamed.hs +++ b/testsuite/tests/partial-sigs/should_compile/ExpressionSigNamed.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module ExpressionSigNamed where bar :: _a -> _a diff --git a/testsuite/tests/partial-sigs/should_compile/GenNamed.hs b/testsuite/tests/partial-sigs/should_compile/GenNamed.hs index cd33483912..72659a8fbe 100644 --- a/testsuite/tests/partial-sigs/should_compile/GenNamed.hs +++ b/testsuite/tests/partial-sigs/should_compile/GenNamed.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module GenNamed where bar :: _a -> _a diff --git a/testsuite/tests/partial-sigs/should_compile/Meltdown.hs b/testsuite/tests/partial-sigs/should_compile/Meltdown.hs index 1ead4032a8..963af55a25 100644 --- a/testsuite/tests/partial-sigs/should_compile/Meltdown.hs +++ b/testsuite/tests/partial-sigs/should_compile/Meltdown.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, ScopedTypeVariables, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, ScopedTypeVariables, NamedWildCards #-} module Meltdown where import Control.Applicative diff --git a/testsuite/tests/partial-sigs/should_compile/NamedTyVar.hs b/testsuite/tests/partial-sigs/should_compile/NamedTyVar.hs index e30cb7d064..c86a2ec72e 100644 --- a/testsuite/tests/partial-sigs/should_compile/NamedTyVar.hs +++ b/testsuite/tests/partial-sigs/should_compile/NamedTyVar.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module NamedTyVar where foo :: (_a, b) -> (a, _b) diff --git a/testsuite/tests/partial-sigs/should_compile/ScopedNamedWildcards.hs b/testsuite/tests/partial-sigs/should_compile/ScopedNamedWildcards.hs index 794c8dd5cf..c93c5b01bf 100644 --- a/testsuite/tests/partial-sigs/should_compile/ScopedNamedWildcards.hs +++ b/testsuite/tests/partial-sigs/should_compile/ScopedNamedWildcards.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module ScopedNamedWildcards where diff --git a/testsuite/tests/partial-sigs/should_compile/ScopedNamedWildcardsGood.hs b/testsuite/tests/partial-sigs/should_compile/ScopedNamedWildcardsGood.hs index 725cf2902b..f74df66369 100644 --- a/testsuite/tests/partial-sigs/should_compile/ScopedNamedWildcardsGood.hs +++ b/testsuite/tests/partial-sigs/should_compile/ScopedNamedWildcardsGood.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module ScopedNamedWildcardsGood where diff --git a/testsuite/tests/partial-sigs/should_compile/ShowNamed.hs b/testsuite/tests/partial-sigs/should_compile/ShowNamed.hs index e723214a00..e79d8c2091 100644 --- a/testsuite/tests/partial-sigs/should_compile/ShowNamed.hs +++ b/testsuite/tests/partial-sigs/should_compile/ShowNamed.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module ShowNamed where showTwo :: Show _a => _a -> String diff --git a/testsuite/tests/partial-sigs/should_compile/SomethingShowable.hs b/testsuite/tests/partial-sigs/should_compile/SomethingShowable.hs index 6faadfecde..338ae5cae8 100644 --- a/testsuite/tests/partial-sigs/should_compile/SomethingShowable.hs +++ b/testsuite/tests/partial-sigs/should_compile/SomethingShowable.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module SomethingShowable where somethingShowable :: Show _x => _x -> _ diff --git a/testsuite/tests/partial-sigs/should_compile/UncurryNamed.hs b/testsuite/tests/partial-sigs/should_compile/UncurryNamed.hs index 9bc7b460bd..5cc4f68c7d 100644 --- a/testsuite/tests/partial-sigs/should_compile/UncurryNamed.hs +++ b/testsuite/tests/partial-sigs/should_compile/UncurryNamed.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module UncurryNamed where unc :: (_a -> _b -> _c) -> (_a, _b) -> _c diff --git a/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.hs b/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.hs index 765313a5e4..884ced6d8f 100644 --- a/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.hs +++ b/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards, ScopedTypeVariables, RankNTypes #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards, ScopedTypeVariables, RankNTypes #-} module WildcardInstantiations where diff --git a/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.hs b/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.hs index daaa06c80f..55cdd5b219 100644 --- a/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.hs +++ b/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE NamedWildcards #-} +{-# LANGUAGE NamedWildCards #-} module InstantiatedNamedWildcardsInConstraints where foo :: (Enum _a, _) => _a -> (String, b) diff --git a/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.hs b/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.hs index 8b7372c7f5..28bb8362ce 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.hs +++ b/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module NamedExtraConstraintsWildcard where foo :: (Eq a, _a) => a -> a diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.hs b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.hs index fe5e606966..d08f1689a1 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.hs +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE NamedWildcards #-} +{-# LANGUAGE NamedWildCards #-} module NamedWildcardsEnabled where foo :: _a -> _b diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.hs b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.hs index 6b5650c2f9..383115ef55 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.hs +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-} module NamedWildcardsNotInMonotype where foo :: (Show _a, Eq _c, Eq _b) => _a -> _b -> String diff --git a/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.hs b/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.hs index d906eaf82d..d999bedd53 100644 --- a/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.hs +++ b/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE RankNTypes, PartialTypeSignatures, NamedWildcards #-} +{-# LANGUAGE RankNTypes, PartialTypeSignatures, NamedWildCards #-} module NestedNamedExtraConstraintsWildcard where foo :: Bool -> (Eq a, _a) => a diff --git a/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.hs b/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.hs index df0d3b8111..7d90a84276 100644 --- a/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.hs +++ b/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards, ScopedTypeVariables #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards, ScopedTypeVariables #-} module ScopedNamedWildcardsBad where diff --git a/testsuite/tests/partial-sigs/should_fail/TidyClash2.hs b/testsuite/tests/partial-sigs/should_fail/TidyClash2.hs index 7a2cab3430..2ca299bf4c 100644 --- a/testsuite/tests/partial-sigs/should_fail/TidyClash2.hs +++ b/testsuite/tests/partial-sigs/should_fail/TidyClash2.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE NamedWildcards, ScopedTypeVariables #-} +{-# LANGUAGE NamedWildCards, ScopedTypeVariables #-} module TidyClash2 where barry :: forall w_. _ -> _ -> w_ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.hs b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.hs index 5923bc23b7..cf58492978 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.hs +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PartialTypeSignatures, NamedWildcards, DatatypeContexts #-} +{-# LANGUAGE PartialTypeSignatures, NamedWildCards, DatatypeContexts #-} module WildcardInADTContext2 where data (Eq _a) => Foo a = Foo { getFoo :: a } diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.hs b/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.hs index ff4c61cb62..5b9c6ad8fb 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.hs +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE NamedWildcards, ScopedTypeVariables, RankNTypes #-} +{-# LANGUAGE NamedWildCards, ScopedTypeVariables, RankNTypes #-} module WildcardInstantiations where diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.hs b/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.hs index a8a069df50..9360fe1877 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.hs +++ b/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE NamedWildcards, ScopedTypeVariables #-} +{-# LANGUAGE NamedWildCards, ScopedTypeVariables #-} module WildcardsInPatternAndExprSig where bar (Just ([x :: _a] :: _) :: Maybe [_b]) (z :: _c) = [x, z] :: [_d] |