summaryrefslogtreecommitdiff
path: root/compiler/GHC
diff options
context:
space:
mode:
authorTom Ellis <tom-git@jaguarpaw.co.uk>2020-11-26 19:01:03 +0000
committerTom Ellis <tom-git@jaguarpaw.co.uk>2020-12-19 10:18:55 +0000
commit32b6ebe8efd45a32ebe3696f32ac3d84a9e8e30c (patch)
tree8a6177969e315658e3b114875e97d07b69e5b424 /compiler/GHC
parent366b58858a773fe03d7b7ba93ba9d8287b901229 (diff)
downloadhaskell-32b6ebe8efd45a32ebe3696f32ac3d84a9e8e30c.tar.gz
Add two warnings to -Wall
* -Wincomplete-uni-patterns * -Wincomplete-record-updates See https://gitlab.haskell.org/ghc/ghc/-/issues/15656
Diffstat (limited to 'compiler/GHC')
-rw-r--r--compiler/GHC/Driver/Session.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index c4b28b1210..f7cdd5944b 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -4099,7 +4099,9 @@ minusWallOpts
Opt_WarnMissingPatternSynonymSignatures,
Opt_WarnUnusedRecordWildcards,
Opt_WarnRedundantRecordWildcards,
- Opt_WarnStarIsType
+ Opt_WarnStarIsType,
+ Opt_WarnIncompleteUniPatterns,
+ Opt_WarnIncompletePatternsRecUpd
]
-- | Things you get with -Weverything, i.e. *all* known warnings flags