Skip to content
This repository was archived by the owner on Mar 22, 2021. It is now read-only.

Commit 735de07

Browse files
committed
Enable more GHC warnings
1 parent 289a1e9 commit 735de07

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

hslua-module-system.cabal

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,18 @@ test-suite test-hslua-module-system
5050
type: exitcode-stdio-1.0
5151
main-is: test-hslua-module-system.hs
5252
hs-source-dirs: test
53-
ghc-options: -Wall -threaded
53+
ghc-options: -Wall
54+
-Wincomplete-record-updates
55+
-Wnoncanonical-monad-instances
56+
-Wredundant-constraints
57+
if impl(ghc >= 8.2)
58+
ghc-options: -Wcpp-undef
59+
-Werror=missing-home-modules
60+
if impl(ghc >= 8.4)
61+
ghc-options: -Widentities
62+
-Wincomplete-uni-patterns
63+
-Wpartial-fields
64+
-fhide-source-paths
5465
build-depends: base
5566
, hslua
5667
, hslua-module-system

0 commit comments

Comments
 (0)