aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/haddock-api.cabal
diff options
context:
space:
mode:
authortomjaguarpaw <tom-github.com@jaguarpaw.co.uk>2020-12-10 18:01:41 +0000
committerTom Ellis <tom-git@jaguarpaw.co.uk>2020-12-19 10:17:19 +0000
commitbeafcacfd0fc3d447d461a2be3378e50ef77d9c0 (patch)
tree3579c6ca0499a09a3183f04bbb30ecb371b413e8 /haddock-api/haddock-api.cabal
parentc3b276d94e207717731512d1e1f8b59b729b653a (diff)
Enable two warnings (#1245) (#1268)
because they will be soon be added to -Wall. See https://gitlab.haskell.org/ghc/ghc/-/issues/15656
Diffstat (limited to 'haddock-api/haddock-api.cabal')
-rw-r--r--haddock-api/haddock-api.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock-api/haddock-api.cabal b/haddock-api/haddock-api.cabal
index 801fbb0f..cea9c4bd 100644
--- a/haddock-api/haddock-api.cabal
+++ b/haddock-api/haddock-api.cabal
@@ -65,7 +65,8 @@ library
hs-source-dirs: src
- ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
+ ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wincomplete-record-updates -O2
+
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances