summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorBodigrim <andrew.lelechenko@gmail.com>2022-11-18 21:49:47 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-03-30 14:35:57 -0400
commit8f15c47c729236e647a7aa147751afa0320f2e70 (patch)
treeeea1bb5d0288a1eafd8dc59e007bcc00275b1c6c /hadrian
parent61a2dfaa1ab4e1502c0ab00818150de0a033412a (diff)
downloadhaskell-8f15c47c729236e647a7aa147751afa0320f2e70.tar.gz
Fixes to accomodate Data.List.{head,tail} with {-# WARNING #-}
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Warnings.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Warnings.hs b/hadrian/src/Settings/Warnings.hs
index 4001b8bd91..fdbf253440 100644
--- a/hadrian/src/Settings/Warnings.hs
+++ b/hadrian/src/Settings/Warnings.hs
@@ -39,6 +39,7 @@ ghcWarningsArgs = do
, package haddock ? pure [ "-Wno-unused-imports"
, "-Wno-deprecations" ]
, package haskeline ? pure [ "-Wno-deprecations"
+ , "-Wno-x-partial"
, "-Wno-unused-imports"
, "-Wno-redundant-constraints"
, "-Wno-simplifiable-class-constraints" ]