Skip to content

Testsuite fails to build #120

Description

@andreasabel
haskell-names-0.9.9.1  cabal test -w ghc-9.12.2                                                                                                            1 х │ 9s │ 11:49:47 
Build profile: -w ghc-9.12.2 -O1
In order, the following will be built (use -v for more details):
 - haskell-names-0.9.9.1 (test:test) (first run)
Preprocessing test suite 'test' for haskell-names-0.9.9.1...
Building test suite 'test' for haskell-names-0.9.9.1...
[1 of 1] Compiling Main             ( tests/run.hs, dist-newstyle/build/aarch64-osx/ghc-9.12.2/haskell-names-0.9.9.1/t/test/build/test/test-tmp/Main.o )
tests/run.hs:54:3: error: [GHC-88464]
    Variable not in scope:
      forM
        :: [FilePath]
           -> (FilePath -> IO (FilePath, Module SrcSpan))
           -> IO [(FilePath, Module SrcSpan)]
    Suggested fix:
      Perhaps use one of these:
        ‘F.for_’ (imported from Data.Foldable),
        ‘F.forM_’ (imported from Data.Foldable)
   |
54 |   forM paths (\path -> do
   |   ^^^^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions