-
Notifications
You must be signed in to change notification settings - Fork 5
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
Haddock generation error with GHC 7.6.3 #8
Comments
This is because of a haddock bug. Supposedly it has been fixed, but I don't think haddock can be updated separately from ghc. It seems to be fixed when using ghc 7.8 here, I'm guessing you're using 7.6? |
Stackage builds with both 7.6 and 7.8. This report came from a 7.6 build. |
OK, well, I see no way to fix this on 7.6. The only thing I could do locally is remove the export of |
What about using CPP to hide that code from Haddock? |
How do we detect if we're being compiled from haddock in CPP? |
You can use |
I can't get this to work. Could you point me to the documentation? |
Looks like this was broken a while ago: haskell/cabal#1237. I'll just disable the test phase for json-schema for Stackage with GHC 7.6.3. |
Thanks. I've also tried |
The text was updated successfully, but these errors were encountered: