File tree Expand file tree Collapse file tree 6 files changed +14
-0
lines changed Expand file tree Collapse file tree 6 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ library
56
56
hs-source-dirs : src
57
57
default-language : Haskell2010
58
58
ghc-options : -Wall
59
+ if impl(ghc >= 8.0 )
60
+ ghc-options : -Wno-redundant-constraints
59
61
include-dirs : include
60
62
61
63
test-suite spec
Original file line number Diff line number Diff line change 15
15
{-# LANGUAGE TypeFamilies #-}
16
16
{-# LANGUAGE TypeOperators #-}
17
17
{-# LANGUAGE UndecidableInstances #-}
18
+ #if __GLASGOW_HASKELL__ >= 800
19
+ {-# OPTIONS_GHC -freduction-depth=100 #-}
20
+ #else
18
21
{-# OPTIONS_GHC -fcontext-stack=100 #-}
22
+ #endif
19
23
{-# OPTIONS_GHC -fno-warn-orphans #-}
20
24
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
21
25
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ library
50
50
hs-source-dirs : src
51
51
default-language : Haskell2010
52
52
ghc-options : -Wall
53
+ if impl(ghc >= 8.0 )
54
+ ghc-options : -Wno-redundant-constraints
53
55
include-dirs : include
54
56
55
57
executable greet-docs
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ library
37
37
hs-source-dirs : src
38
38
default-language : Haskell2010
39
39
ghc-options : -Wall
40
+ if impl(ghc >= 8.0 )
41
+ ghc-options : -Wno-redundant-constraints
40
42
include-dirs : include
41
43
default-extensions : CPP
42
44
, ConstraintKinds
Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ library
74
74
hs-source-dirs : src
75
75
default-language : Haskell2010
76
76
ghc-options : -Wall
77
+ if impl(ghc >= 8.0 )
78
+ ghc-options : -Wno-redundant-constraints
77
79
include-dirs : include
78
80
79
81
executable greet
Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ library
88
88
, TypeSynonymInstances
89
89
, UndecidableInstances
90
90
ghc-options : -Wall
91
+ if impl(ghc >= 8.0 )
92
+ ghc-options : -Wno-redundant-constraints
91
93
include-dirs : include
92
94
93
95
test-suite spec
You can’t perform that action at this time.
0 commit comments