Skip to content
Snippets Groups Projects
Commit 8ed89b18 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Fix compilation of lib:haddock-library w/ GHC < 8

parent e9894ffb
No related branches found
No related tags found
5 merge requests!38Make --no-tmp-comp-dir the default,!37Adapt to latest xhtml version, various optimizations,!31Support HsToken in DataDecl and ClassDecl,!12Drop orphan instance when defined upstream.,!10Haddock interfaces produced from `.hi` files
...@@ -50,6 +50,12 @@ library ...@@ -50,6 +50,12 @@ library
Data.Attoparsec.Number Data.Attoparsec.Number
Documentation.Haddock.Parser.Util Documentation.Haddock.Parser.Util
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
else
build-depends: semigroups ^>= 0.18.3, fail ^>= 4.9.0.0
test-suite spec test-suite spec
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
default-language: Haskell2010 default-language: Haskell2010
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment