yesodweb / yesodweb/persistent
persistent-qq-2.12.0.5 testsuite fails to compile with ghc-9.6
Open
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
Building test suite 'specs' for persistent-qq-2.12.0.5..
[5 of 5] Compiling Main
/var/stackage/work/unpack-dir/unpacked/persistent-qq-2.12.0.5-faf83f6b3c1ec803ae7d1fd37102cb9c1e3d999c7bcc063eea04683707d1579
f/test/Spec.hs:32:20: error: [GHC-88464]
Variable not in scope: when :: Bool -> IO () -> c
|
32 | let printDebug = when _debugOn . B.putStrLn . fromLogStr
| ^^^^
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with test/Spec.hs, especially the failing line reported while compiling the specs test suite under GHC 9.6. Reproduce the persistent-qq-2.12.0.5 test-suite build and inspect the surrounding test code. Done means the specs test suite compiles successfully with GHC 9.6.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100