From 2fac80aa1727a200f576f899bb325f523842c3ff Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 1 May 2024 22:35:36 -0400 Subject: 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. --- Biz/Bild.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Biz/Bild.hs') 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", -- cgit v1.2.3