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

Cannot build on GHC 9 #59

Closed
tochicool opened this issue Jun 25, 2022 · 0 comments · Fixed by #60
Closed

Cannot build on GHC 9 #59

tochicool opened this issue Jun 25, 2022 · 0 comments · Fixed by #60

Comments

@tochicool
Copy link

Building some packages of this library in GHC 9 leads to compilation issues:

http2-client          > /tmp/stack-49090504ba56a2ab/http2-client-0.10.0.0/src/Network/HTTP2/Client.hs:286:19: error:
http2-client          >     • Couldn't match type: forall a1. StreamStarter a1
http2-client          >                      with: (Http2Stream -> StreamDefinition a)
http2-client          >                            -> ClientIO (Either TooMuchConcurrency a)
http2-client          >       Expected: Http2Client -> StreamStarter a
http2-client          >         Actual: Http2Client -> forall a. StreamStarter a
http2-client          >     • In the expression: _startStream
http2-client          >       In an equation for ‘withHttp2Stream’:
http2-client          >           withHttp2Stream = _startStream
http2-client          >     • Relevant bindings include
http2-client          >         withHttp2Stream :: Http2Client -> StreamStarter a
http2-client          >           (bound at src/Network/HTTP2/Client.hs:286:1)
http2-client          >     |           
http2-client          > 286 | withHttp2Stream = _startStream
http2-client          >     | 

This appears to be because of outdated versions of dependencies that doesn't support GHC 9.

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

Successfully merging a pull request may close this issue.

1 participant