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

Support tasty-1.5 #37

Closed
Bodigrim opened this issue Sep 10, 2023 · 2 comments · Fixed by #38
Closed

Support tasty-1.5 #37

Bodigrim opened this issue Sep 10, 2023 · 2 comments · Fixed by #38
Assignees
Labels
hackage Releases, revisions etc.
Milestone

Comments

@Bodigrim
Copy link

tasty-silver-3.3.1.1$ cabal build -c 'tasty>=1.5'
[4 of 6] Compiling Test.Tasty.Silver.Interactive

Test/Tasty/Silver/Interactive.hs:581:25: error: [GHC-83865]
    • Couldn't match type: Ap (Reader Level) TestOutput
                     with: [Ap (Reader Level) TestOutput]
      Expected: OptionSet
                -> TestName
                -> [Ap (Reader Level) TestOutput]
                -> Ap (Reader Level) TestOutput
        Actual: OptionSet
                -> TestName
                -> Ap (Reader Level) TestOutput
                -> Ap (Reader Level) TestOutput
    • In the expression: handleGroup
      In a record update at fields ‘foldSingle’, ‘foldGroup’,
      with type constructor ‘TreeFold’
      and data constructor ‘TreeFold’.
      In the first argument of ‘foldTestTree’, namely
        ‘trivialFold
           {foldSingle = handleSingleTest, foldGroup = handleGroup}’
    |
581 |           , foldGroup = handleGroup
    |                         ^^^^^^^^^^^

Test/Tasty/Silver/Interactive.hs:928:31: error: [GHC-83865]
    • Couldn't match expected type: Int -> Maximum Int
                  with actual type: [Int -> Maximum Int]
    • In the first argument of ‘(.)’, namely ‘m’
      In the expression: m . (+ indentSize)
      In the expression: \ _ _ m -> m . (+ indentSize)
    |
928 |       , foldGroup = \_ _ m -> m . (+ indentSize)
    |                               ^
Error: cabal: Failed to build tasty-silver-3.3.1.1.
@andreasabel andreasabel mentioned this issue Sep 10, 2023
@andreasabel andreasabel added this to the 3.3.1.2 milestone Sep 10, 2023
@andreasabel andreasabel self-assigned this Sep 10, 2023
@andreasabel andreasabel added the hackage Releases, revisions etc. label Sep 10, 2023
@andreasabel
Copy link
Collaborator

I revised the published 3.2 and 3.3 to require tasty < 1.5:

  • tasty-silver-3.2-r3
  • tasty-silver-3.2.1-r3
  • tasty-silver-3.2.2-r3
  • tasty-silver-3.2.3-r2
  • tasty-silver-3.3-r2
  • tasty-silver-3.3.1-r2
  • tasty-silver-3.3.1.1-r1

@andreasabel
Copy link
Collaborator

Released 3.3.1.2 which supports tasty-1.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hackage Releases, revisions etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants