Skip to content

Commit

Permalink
Disable GHC warnings: incomplete-uni-patterns and `incomplete-recor…
Browse files Browse the repository at this point in the history
…d-updates`.

These were newly added to `-Wall` starting GHC 9.2.1.

https://ghc-proposals.readthedocs.io/en/latest/proposals/0071-Wall-uni-patterns.html
  • Loading branch information
dan-zheng committed Apr 4, 2023
1 parent 634f56d commit 9edb341
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dex.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ library
default-language: Haskell2010
hs-source-dirs: src/lib
ghc-options: -Wall
-Wno-incomplete-uni-patterns
-Wno-incomplete-record-updates
-Wno-unticked-promoted-constructors
-fPIC
-optP-Wno-nonportable-include-path
Expand Down

0 comments on commit 9edb341

Please sign in to comment.