ghc: Enable more warnings
This commit is contained in:
parent
24cd59f124
commit
5a7a5c2152
1 changed files with 10 additions and 0 deletions
|
@ -22,12 +22,22 @@
|
|||
-- -------------------------------------------------------------------- --
|
||||
-- Warning flags for safe build
|
||||
-- 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 -Wcompat
|
||||
:set -Wincomplete-record-updates
|
||||
:set -Wincomplete-uni-patterns
|
||||
: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
|
||||
|
|
Loading…
Reference in a new issue