summaryrefslogtreecommitdiff
path: root/Biz/Bild.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-05-01 22:35:36 -0400
committerBen Sima <ben@bsima.me>2024-05-09 21:38:52 -0400
commit2fac80aa1727a200f576f899bb325f523842c3ff (patch)
tree66668874a8e7a546473ba66d1159cf36c9751dc5 /Biz/Bild.hs
parentd71c6f8c5955e8a9861e3f3957b293a369aac954 (diff)
Turn on more Haskell errors
I actually thought these were turned on, but found that they weren't when I was investigating Haddock stuff. There aren't many violations, so I just turned them on and fixed the violations real quick.
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r--Biz/Bild.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index bae0328..5c8e287 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -612,7 +612,10 @@ analyze hmap ns = case Map.lookup ns hmap of
packageSet = "haskell.packages",
mainModule = Namespace.toModule namespace,
compilerFlags =
- [ "-Werror",
+ [ "-Wall",
+ "-Werror",
+ "-haddock",
+ "-Winvalid-haddock",
"-threaded",
"-i$CODEROOT",
"-odir",