@@ -52,22 +52,16 @@ library
52 retry >=0.8 && <0.10,
52 retry >=0.8 && <0.10,
53 template-haskell >=2.14 && <2.20,
53 template-haskell >=2.14 && <2.20,
54 text >=0.2 && <2.1,
54 text >=0.2 && <2.1,
56 transformers >=0.5.3.0 && <0.7,
55 transformers >=0.5.3.0 && <0.7,
57 transformers-base,
56 transformers-base,
58 unliftio-core >=0.1.1 && <0.3
57 unliftio-core >=0.1.1 && <0.3
60 if flag(dev)
59 if flag(dev)
61− ghc-options: -O0 -Wall -Werror
60+ ghc-options: -Wall -Werror -Wpartial-fields -Wunused-packages
64 ghc-options: -O2 -Wall
63 ghc-options: -O2 -Wall
68− -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns
69− -Wnoncanonical-monad-instances
71test-suite pure-tests
65test-suite pure-tests
72 type: exitcode-stdio-1.0
66 type: exitcode-stdio-1.0
73 main-is: Spec.hs
67 main-is: Spec.hs
@@ -96,7 +90,7 @@ test-suite pure-tests
96 time >=1.2 && <1.13
90 time >=1.2 && <1.13
98 if flag(dev)
92 if flag(dev)
99− ghc-options: -O0 -Wall -Werror
93+ ghc-options: -Wall -Werror
102 ghc-options: -O2 -Wall
96 ghc-options: -O2 -Wall
@@ -122,7 +116,7 @@ test-suite httpbun-tests
122 text >=0.2 && <2.1
116 text >=0.2 && <2.1
124 if flag(dev)
118 if flag(dev)
125− ghc-options: -O0 -Wall -Werror
119+ ghc-options: -Wall -Werror
128 ghc-options: -O2 -Wall
122 ghc-options: -O2 -Wall