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

mkName issue #77

Closed
tonymorris opened this issue Apr 20, 2014 · 8 comments
Closed

mkName issue #77

tonymorris opened this issue Apr 20, 2014 · 8 comments

Comments

@tonymorris
Copy link
Contributor

This issue was originally opened on the wrong repository.

tonymorris/fp-course#19

@Tordek
Copy link

Tordek commented May 3, 2014

This seems to be a fault of doctest. I worked around it by changing the doctest dependency to

 , doctest >= 0.9.7 && < 0.9.10

since doctest-0.9.11 was installed and seemingly causing the issue.

@christian-marie
Copy link

Reproduced with doctest-0.9.11 and ghc 7.8.2.

I tried @Tordec's quick fix, doesn't look promising with ghc >= 7.8:

(conflict: doctest => ghc>=7.0 && <7.8).

Looks like we will need to fix this properly. I don't have time to look into it just now.

@christian-marie
Copy link

Probably this:
sol/doctest#76

@erikd
Copy link

erikd commented May 29, 2014

The root cause of the problem is actually ghc : https://ghc.haskell.org/trac/ghc/ticket/8831

For some reason that didn't make it into 7.8.2 (fixed too late possibly?) but it should be in 7.8.3.

@dredozubov
Copy link

I'm getting this with ghc 7.6.3 and doctest 0.9.11. Ticket shows it's 7.8.* issue, not 7.6.*. Can anyone clarify this?

@cfreeman
Copy link

@dredozubov I'm on OSX, with ghc 7.6.3 and doctest 0.9.11. To resolve I had to:

update course.cabal as @Tordek suggested:
, doctest >= 0.9.7 && < 0.9.10

Then explicitly uninstall doctest 0.9.11 with:
ghc-pkg unregister --force doctest

And install doctest 0.9.9 with:
cabal install --only-dependencies --reinstall

Then it was all good.

@dredozubov
Copy link

@cfreeman got it to work, thanks!

@tonymorris
Copy link
Contributor Author

Adding template-haskell >= 2.8 as a dependency in the tests fixes this.

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

6 participants