Re-enable ghc-8.6, Add -Wcompat

pull/5/head
Lennart Spitzner 2018-10-07 16:06:07 +02:00
parent 516b975ac7
commit 71441b3c2b
2 changed files with 5 additions and 3 deletions

View File

@ -37,7 +37,7 @@ library
other-modules: UI.Butcher.Monadic.Internal.Types other-modules: UI.Butcher.Monadic.Internal.Types
UI.Butcher.Monadic.Internal.Core UI.Butcher.Monadic.Internal.Core
build-depends: build-depends:
{ base >=4.9 && <4.12 { base >=4.9 && <4.13
, free < 5.2 , free < 5.2
, unsafe < 0.1 , unsafe < 0.1
, microlens <0.5 , microlens <0.5
@ -80,6 +80,7 @@ library
} }
ghc-options: { ghc-options: {
-Wall -Wall
-Wcompat
-fno-spec-constr -fno-spec-constr
-fno-warn-unused-imports -fno-warn-unused-imports
-fno-warn-orphans -fno-warn-orphans

View File

@ -27,8 +27,8 @@ checks:
version: "8.2.2" version: "8.2.2"
- compiler: "ghc" - compiler: "ghc"
version: "8.4.3" version: "8.4.3"
# - compiler: "ghc" - compiler: "ghc"
# version: "8.6.1" version: "8.6.1"
compilers-help: | compilers-help: |
for this to work, cabal will need the paths to the actual for this to work, cabal will need the paths to the actual
compilers to be configured; see the note about the user-global compilers to be configured; see the note about the user-global
@ -36,6 +36,7 @@ checks:
enabled: True enabled: True
compiler-warnings: compiler-warnings:
enabled: True enabled: True
enable-compat: False
documentation: documentation:
enabled: True enabled: True
hlint: hlint: