This repository was archived by the owner on Aug 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +10
-2
lines changed Expand file tree Collapse file tree 8 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ library
65
65
66
66
hs-source-dirs : src
67
67
68
- ghc-options : -funbox-strict-fields -Wall -fwarn-tabs -O2
68
+ ghc-options : -funbox-strict-fields -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wincomplete-record-updates -O2
69
+
69
70
ghc-options : -Wall
70
71
if impl(ghc >= 8.0 )
71
72
ghc-options : -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
Original file line number Diff line number Diff line change 1
1
{-# LANGUAGE FlexibleContexts #-}
2
2
{-# LANGUAGE TypeFamilies #-}
3
+ {-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
3
4
-----------------------------------------------------------------------------
4
5
-- |
5
6
-- Module : Haddock.Backends.Hoogle
Original file line number Diff line number Diff line change 1
1
{-# LANGUAGE OverloadedStrings #-}
2
2
{-# OPTIONS_GHC -fno-warn-orphans #-}
3
+ {-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
3
4
module Haddock.Backends.Hyperlinker.Parser (parse ) where
4
5
5
6
import Control.Applicative ( Alternative (.. ) )
Original file line number Diff line number Diff line change 5
5
{-# LANGUAGE ScopedTypeVariables #-}
6
6
{-# LANGUAGE FlexibleContexts #-}
7
7
{-# OPTIONS_GHC -fno-warn-orphans #-}
8
+ {-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
8
9
{-# OPTIONS_HADDOCK hide #-}
9
10
-----------------------------------------------------------------------------
10
11
-- |
Original file line number Diff line number Diff line change 1
1
{-# LANGUAGE MagicHash, BangPatterns #-}
2
2
{-# LANGUAGE TypeFamilies #-}
3
+ {-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
4
+ {-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
3
5
-----------------------------------------------------------------------------
4
6
-- |
5
7
-- Module : Haddock.Interface.AttachInstances
Original file line number Diff line number Diff line change 1
1
{-# LANGUAGE RecordWildCards #-}
2
2
{-# LANGUAGE TypeFamilies #-}
3
+ {-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
3
4
----------------------------------------------------------------------------
4
5
-- |
5
6
-- Module : Haddock.Interface.Rename
Original file line number Diff line number Diff line change 4
4
{-# LANGUAGE TypeApplications #-}
5
5
{-# LANGUAGE RecordWildCards #-}
6
6
{-# LANGUAGE GADTs #-}
7
+ {-# OPTIONS_GHC -Wno-incomplete-record-updates #-}
7
8
8
9
module Haddock.Interface.Specialize
9
10
( specializeInstHead
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ executable haddock
60
60
default-language : Haskell2010
61
61
main-is : Main.hs
62
62
hs-source-dirs : driver
63
- ghc-options : -funbox-strict-fields -Wall -fwarn-tabs -O2 -threaded
63
+ ghc-options : -funbox-strict-fields -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wincomplete-record-updates - O2 -threaded
64
64
65
65
-- haddock typically only supports a single GHC major version
66
66
build-depends :
You can’t perform that action at this time.
0 commit comments