yesodweb / yesodweb/persistent

persistent-qq-2.12.0.5 testsuite fails to compile with ghc-9.6

Open
#1,506 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.