Skip to content

Commit

Permalink
Do not build universum-doctest with GHC >= 9.0.0
Browse files Browse the repository at this point in the history
Problem: universum-doctest passes with GHC < 9, but starts to
fail with >= 9. The errors are weird, it complains that a lot of
stuff is not in scope. Example:
> Not in scope: type constructor or class ‘Text’

Solution: there is the following issue
sol/doctest#327. Apparently, something is
wrong in `doctest` itself. The maintainer intends to investigate it,
so let's wait for that. While waiting, let's disable
`universum-doctest` whenever GHC is >= 9.0.0.
  • Loading branch information
gromakovsky committed Apr 22, 2022
1 parent f8b3232 commit 1e1126a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions universum.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ test-suite universum-doctest

if impl(ghc >= 8.10.1)
ghc-options: -Wno-missing-safe-haskell-mode
-- https://github.com/sol/doctest/issues/327
-- TODO: re-enable when the issue is resolved
if impl(ghc >= 9.0.0)
buildable: False

ghc-options: -threaded

Expand Down

0 comments on commit 1e1126a

Please sign in to comment.