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

doctest-0.10.1 doesn't support GHC 8.0.x #125

Closed
peti opened this issue Jan 29, 2016 · 6 comments
Closed

doctest-0.10.1 doesn't support GHC 8.0.x #125

peti opened this issue Jan 29, 2016 · 6 comments

Comments

@peti
Copy link

peti commented Jan 29, 2016

The current version of doctest refuses to compile with GHC 8.0.x:

Setup: At least the following dependencies are missing:

ghc >=7.0 && <7.12
@trofi
Copy link

trofi commented Feb 8, 2016

The real incompatibility will come from http://git.haskell.org/ghc.git/commitdiff/1e041b7382b6aa329e4ad9625439f811e0f27232

[10 of 16] Compiling Extract          ( src/Extract.hs, dist/build/Extract.o )

src/Extract.hs:234:31: error:
    Not in scope: type constructor or class ‘HsWithBndrs’

@deepfire
Copy link

@sol, where would one start looking to fix this?

@sol
Copy link
Owner

sol commented Feb 11, 2016

@deepfire If you want to work on this I'll make sure that I free up some time to review the code and get it merged. I think only code in src/Extract.hs needs to be adapted.

@deepfire
Copy link

Commit replacing HsWithBndrs: https://git.haskell.org/ghc.git/commit/1e041b7382b6aa329e4ad9625439f811e0f27232

The commit message doesn't mention HsWithBndrs specifically, but refers to Note [HsType binders] in source code: https://git.haskell.org/ghc.git/blobdiff/b432e2f39c095d8acbb0cfcc63bd08436c7a3e49..1e041b7382b6aa329e4ad9625439f811e0f27232:/compiler/hsSyn/HsTypes.hs

@sol
Copy link
Owner

sol commented Mar 30, 2016

On Hackage as doctest-0.11.0.

@peti
Copy link
Author

peti commented Mar 31, 2016

Compiles fine in Nixpkgs. Thank you very much!

peti added a commit to peti/nixpkgs that referenced this issue Apr 4, 2016
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

4 participants