summaryrefslogtreecommitdiff
path: root/compiler/main/DynFlags.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-12-29 14:18:47 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-20 21:56:13 -0500
commit04eb0d6c4de23a4cfe3953e7496f5bc4b5b1d53c (patch)
treec36fab3531bf39cb47d54cf12e7bb7d3ca6a1407 /compiler/main/DynFlags.hs
parent89cb4cc4cc76f834b0bcc53fb551db706ef143b7 (diff)
downloadhaskell-04eb0d6c4de23a4cfe3953e7496f5bc4b5b1d53c.tar.gz
Enable -Wstar-is-type in -Wall
As noted in [proposal 0143][proposal] this is supposed to happen in 8.12. Also fix an incorrect claim in the users guide that -Wstar-is-type is enabled by default. [proposal]: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0143-remove-star-kind.rst
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r--compiler/main/DynFlags.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 97bc2fece1..42205ac0b2 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -4903,7 +4903,8 @@ minusWallOpts
Opt_WarnUntickedPromotedConstructors,
Opt_WarnMissingPatternSynonymSignatures,
Opt_WarnUnusedRecordWildcards,
- Opt_WarnRedundantRecordWildcards
+ Opt_WarnRedundantRecordWildcards,
+ Opt_WarnStarIsType
]
-- | Things you get with -Weverything, i.e. *all* known warnings flags