ghc: Enable more warnings

This commit is contained in:
Sanchayan Maity 2024-09-16 21:07:41 +05:30
parent 24cd59f124
commit 5a7a5c2152
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -22,12 +22,22 @@
-- -------------------------------------------------------------------- -- -- -------------------------------------------------------------------- --
-- Warning flags for safe build -- Warning flags for safe build
-- https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/ -- https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/
-- https://mercury.com/blog/enable-warnings-haskell
:set -Wall :set -Wall
:set -Wcompat :set -Wcompat
:set -Wincomplete-record-updates :set -Wincomplete-record-updates
:set -Wincomplete-uni-patterns :set -Wincomplete-uni-patterns
:set -Wredundant-constraints :set -Wredundant-constraints
:set -Weverything
:set -Wno-missing-exported-signatures
:set -Wno-missing-import-lists
:set -Wno-missed-specialisations
:set -Wno-all-missed-specialisations
:set -Wno-unsafe
:set -Wno-safe
:set -Wno-missing-local-signatures
:set -Wno-monomorphism-restriction
-- -------------------------------------------------------------------- -- -- -------------------------------------------------------------------- --
-- Util cmds -- Util cmds