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

Test suite build failure w/ ghc 8.8 #14

Closed
DanBurton opened this issue Sep 29, 2019 · 2 comments
Closed

Test suite build failure w/ ghc 8.8 #14

DanBurton opened this issue Sep 29, 2019 · 2 comments

Comments

@DanBurton
Copy link

Describe the bug

/Users/dan/scratch/th-test-utils-1.0.0/test/Main.hs:19:7: error:
    • Illegal visible type application ‘@String’
        Perhaps you intended to use TypeApplications
    • In the untyped splice: $(tryQ $ firstConstrForType "Maybe")
   |
19 |     $(tryQ $ firstConstrForType "Maybe") @?= (Right "Nothing" :: Either String String)
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Steps to Reproduce

stack unpack th-test-utils-1.0.0 && cd th-test-utils-1.0.0
echo 'resolver: nightly-2019-09-29' > stack.yaml
stack build --test --bench --no-run-benchmarks --fast

Expected behavior

The test suite should build & run successfully.

Environment

  • Stack version: 2.1.3
  • Library version: th-test-utils-1.0.0

Additional context

(none)

DanBurton added a commit to commercialhaskell/stackage that referenced this issue Sep 29, 2019
@brandon-leapyear
Copy link
Contributor

brandon-leapyear commented Jun 15, 2020

This is an old work account. Please reference @brandonchinn178 for all future communication


Hi @DanBurton! So sorry for not responding earlier -- I didn't get a notification for this issue. Can you try with the most up-to-date th-test-utils? 1.0.2 should have support up to GHC 8.10

@DanBurton
Copy link
Author

Can confirm 1.0.2 builds and passes tests with the latest nightly snapshot. Thanks!

I was able to reproduce this success locally like so:

stack unpack th-test-utils-1.0.2 && cd th-test-utils-1.0.2
echo 'resolver: nightly-2020-06-16' > stack.yaml
stack build --test --bench --no-run-benchmarks --fast

DanBurton added a commit to commercialhaskell/stackage that referenced this issue Jun 16, 2020
alexeyzab added a commit to commercialhaskell/stackage that referenced this issue Jun 17, 2020
juhp pushed a commit to commercialhaskell/stackage that referenced this issue Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants