File tree Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ library
59
59
if impl(ghc >= 8.0 ) && impl(ghc < 8.8 )
60
60
ghc-options : -Wnoncanonical-monadfail-instances
61
61
62
- if impl(ghc >= 8.10 )
62
+ -- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
63
+ -- false positives with GHC 8.10.
64
+ if impl(ghc >= 9 )
63
65
ghc-options : -Wunused-packages
64
66
65
67
build-tool-depends : alex :alex
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ library
65
65
if impl(ghc >= 8.0 ) && impl(ghc < 8.8 )
66
66
ghc-options : -Wnoncanonical-monadfail-instances
67
67
68
- if impl(ghc >= 8.10 )
68
+ -- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
69
+ -- false positives with GHC 8.10.
70
+ if impl(ghc >= 9 )
69
71
ghc-options : -Wunused-packages
70
72
71
73
exposed-modules :
Original file line number Diff line number Diff line change @@ -40,10 +40,12 @@ library
40
40
-Wall -Wcompat -Wnoncanonical-monad-instances
41
41
-fwarn-tabs -fwarn-incomplete-uni-patterns
42
42
43
- if impl(ghc < 8.8 )
43
+ if impl(ghc < 8.8 )
44
44
ghc-options : -Wnoncanonical-monadfail-instances
45
45
46
- if impl(ghc >= 8.10 )
46
+ -- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
47
+ -- false positives with GHC 8.10.
48
+ if impl(ghc >= 9 )
47
49
ghc-options : -Wunused-packages
48
50
49
51
exposed-modules :
Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ common warnings
51
51
if impl(ghc < 8.8 )
52
52
ghc-options : -Wnoncanonical-monadfail-instances
53
53
54
- if impl(ghc >= 9.0 )
55
- -- Warning: even though introduced with GHC 8.10, -Wunused-packages
56
- -- gives false positives with GHC 8.10.
54
+ -- Warning: even though introduced with GHC 8.10, -Wunused-packages gives
55
+ -- false positives with GHC 8.10.
56
+ if impl(ghc >= 9 )
57
57
ghc-options : -Wunused-packages
58
58
59
59
common base-dep
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ program-options
3
3
-fno-ignore-asserts
4
4
-Werror
5
5
6
- if impl(ghc >= 8.10)
6
+ -- Warning: even though introduced with GHC 8.10, -Wunused-packages gives false
7
+ -- positives with GHC 8.10.
8
+ if impl(ghc >= 9)
7
9
program-options
8
10
ghc-options: -Wunused-packages
9
11
package cabal-testsuite
You can’t perform that action at this time.
0 commit comments