Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit 46c3db2

Browse files
committed
Revert "Enable two warnings (#1245) (#1268)"
As this does not build on GHC `master`. This reverts commit 7936692.
1 parent 4ffb30d commit 46c3db2

File tree

8 files changed

+2
-10
lines changed

8 files changed

+2
-10
lines changed

haddock-api/haddock-api.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ library
6565

6666
hs-source-dirs: src
6767

68-
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wincomplete-record-updates -O2
69-
68+
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2
7069
ghc-options: -Wall
7170
if impl(ghc >= 8.0)
7271
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances

haddock-api/src/Haddock/Backends/Hoogle.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{-# LANGUAGE FlexibleContexts #-}
22
{-# LANGUAGE TypeFamilies #-}
3-
{-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
43
-----------------------------------------------------------------------------
54
-- |
65
-- Module : Haddock.Backends.Hoogle

haddock-api/src/Haddock/Backends/Hyperlinker/Parser.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{-# LANGUAGE OverloadedStrings #-}
22
{-# OPTIONS_GHC -fno-warn-orphans #-}
3-
{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
43
module Haddock.Backends.Hyperlinker.Parser (parse) where
54

65
import Control.Applicative ( Alternative(..) )

haddock-api/src/Haddock/GhcUtils.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
{-# LANGUAGE ScopedTypeVariables #-}
66
{-# LANGUAGE FlexibleContexts #-}
77
{-# OPTIONS_GHC -fno-warn-orphans #-}
8-
{-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
98
{-# OPTIONS_HADDOCK hide #-}
109
-----------------------------------------------------------------------------
1110
-- |

haddock-api/src/Haddock/Interface/AttachInstances.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{-# LANGUAGE MagicHash, BangPatterns #-}
22
{-# LANGUAGE TypeFamilies #-}
3-
{-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
4-
{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
53
-----------------------------------------------------------------------------
64
-- |
75
-- Module : Haddock.Interface.AttachInstances

haddock-api/src/Haddock/Interface/Rename.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{-# LANGUAGE RecordWildCards #-}
22
{-# LANGUAGE TypeFamilies #-}
3-
{-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
43
----------------------------------------------------------------------------
54
-- |
65
-- Module : Haddock.Interface.Rename

haddock-api/src/Haddock/Interface/Specialize.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
{-# LANGUAGE TypeApplications #-}
55
{-# LANGUAGE RecordWildCards #-}
66
{-# LANGUAGE GADTs #-}
7-
{-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
87

98
module Haddock.Interface.Specialize
109
( specializeInstHead

haddock.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ executable haddock
6060
default-language: Haskell2010
6161
main-is: Main.hs
6262
hs-source-dirs: driver
63-
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wincomplete-record-updates -O2 -threaded
63+
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs -O2 -threaded
6464

6565
-- haddock typically only supports a single GHC major version
6666
build-depends:

0 commit comments

Comments
 (0)