git.iko.soy/typeable/servant
on master help sign in
Add -Wno-redundant-constraints
008f243Oleg Grenrus
servant-client/servant-client.cabal+2
@@ -56,6 +56,8 @@ library
56 hs-source-dirs: src
56 hs-source-dirs: src
57 default-language: Haskell2010
57 default-language: Haskell2010
58 ghc-options: -Wall
58 ghc-options: -Wall
59+ if impl(ghc >= 8.0)
60+ ghc-options: -Wno-redundant-constraints
59 include-dirs: include
61 include-dirs: include
60
62
61test-suite spec
63test-suite spec
servant-client/test/Servant/ClientSpec.hs+4
@@ -15,7 +15,11 @@
15{-# LANGUAGE TypeFamilies #-}
15{-# LANGUAGE TypeFamilies #-}
16{-# LANGUAGE TypeOperators #-}
16{-# LANGUAGE TypeOperators #-}
17{-# LANGUAGE UndecidableInstances #-}
17{-# LANGUAGE UndecidableInstances #-}
18+#if __GLASGOW_HASKELL__ >= 800
19+{-# OPTIONS_GHC -freduction-depth=100 #-}
20+#else
18{-# OPTIONS_GHC -fcontext-stack=100 #-}
21{-# OPTIONS_GHC -fcontext-stack=100 #-}
22+#endif
19{-# OPTIONS_GHC -fno-warn-orphans #-}
23{-# OPTIONS_GHC -fno-warn-orphans #-}
20{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
24{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
21
25
servant-docs/servant-docs.cabal+2
@@ -50,6 +50,8 @@ library
50 hs-source-dirs: src
50 hs-source-dirs: src
51 default-language: Haskell2010
51 default-language: Haskell2010
52 ghc-options: -Wall
52 ghc-options: -Wall
53+ if impl(ghc >= 8.0)
54+ ghc-options: -Wno-redundant-constraints
53 include-dirs: include
55 include-dirs: include
54
56
55executable greet-docs
57executable greet-docs
servant-foreign/servant-foreign.cabal+2
@@ -37,6 +37,8 @@ library
37 hs-source-dirs: src
37 hs-source-dirs: src
38 default-language: Haskell2010
38 default-language: Haskell2010
39 ghc-options: -Wall
39 ghc-options: -Wall
40+ if impl(ghc >= 8.0)
41+ ghc-options: -Wno-redundant-constraints
40 include-dirs: include
42 include-dirs: include
41 default-extensions: CPP
43 default-extensions: CPP
42 , ConstraintKinds
44 , ConstraintKinds
servant-server/servant-server.cabal+2
@@ -74,6 +74,8 @@ library
74 hs-source-dirs: src
74 hs-source-dirs: src
75 default-language: Haskell2010
75 default-language: Haskell2010
76 ghc-options: -Wall
76 ghc-options: -Wall
77+ if impl(ghc >= 8.0)
78+ ghc-options: -Wno-redundant-constraints
77 include-dirs: include
79 include-dirs: include
78
80
79executable greet
81executable greet
servant/servant.cabal+2
@@ -88,6 +88,8 @@ library
88 , TypeSynonymInstances
88 , TypeSynonymInstances
89 , UndecidableInstances
89 , UndecidableInstances
90 ghc-options: -Wall
90 ghc-options: -Wall
91+ if impl(ghc >= 8.0)
92+ ghc-options: -Wno-redundant-constraints
91 include-dirs: include
93 include-dirs: include
92
94
93test-suite spec
95test-suite spec