Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to run doctests with GHC that were disabled #478

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions vector/vector.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -263,20 +263,13 @@ test-suite vector-doctest
main-is: doctests.hs
hs-source-dirs: tests
default-language: Haskell2010
-- Older GHC don't support DerivingVia
-- Older GHC don't support DerivingVia and doctests use them
if impl(ghc < 8.6)
buildable: False
-- GHC 8.10 fails to run doctests for some reason
if impl(ghc >= 8.10) && impl(ghc < 8.11)
-- Attempts to run doctests on macos on GHC8.10 and 9.0 cause linker errors:
-- > ld: warning: -undefined dynamic_lookup may not work with chained fixups
if os(darwin) && impl(ghc >= 8.10) && impl(ghc < 9.2)
buildable: False
-- GHC 9.0 fails to run doctests for some reason too
if impl(ghc >= 9.0) && impl(ghc < 9.1)
buildable: False
-- And GHC 9.2 too
if impl(ghc >= 9.2) && impl(ghc < 9.2.3)
buildable: False
if impl(ghc >= 9.2.3) && impl(ghc < 9.3)
buildable: True
build-depends:
base -any
, doctest >=0.15 && <0.23
Expand Down
Loading