-
Notifications
You must be signed in to change notification settings - Fork 241
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 2.23.0 regression: --hyperlinked-source breaks vault-0.3.1.3 #1091
Comments
Here is an example with no external dependencies. You'll need these three files: -- Bug.hs
{-# LANGUAGE CPP #-}
module Bug where
#include "Foo.h" /* Foo.h */
foo :: Int
foo = 42
#include "Bar.h" /* Bar.h */
bar :: Int
bar = 27 This demonstrates that this setup works with Haddock 2.22.0:
But not with Haddock 2.23.0:
|
CPP strikes once again. The issue is that there are no I have made a PR that eliminates the call to |
I ran into the same issue with vector-0.12.0.3, but @wz1000's patch fixed it for me.
|
Previously, this input would crash Haddock.
Previously, this input would crash Haddock.
Previously, this input would crash Haddock.
Previously, this input would crash Haddock.
Previously, this input would crash Haddock.
The
vault-0.3.1.3
library no longer works withstack haddock
on a GHC 8.8.1-based resolver (such as this one). After some digging, I discovered that the culprit isstack haddock
's use of the--hyperlinked-source
flag. To reproduce the issue, pick one of the following options (depending on your favorite build tool):stack
cabal
This is a regression from Haddock 2.22.0, which does not error:
I'll try to come up with a more minimal test case shortly.
The text was updated successfully, but these errors were encountered: