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

Pattern synonym haddocks sometimes get randomly associated with the wrong objects. #1069

Open
ekmett opened this issue Jun 7, 2019 · 2 comments
Labels

Comments

@ekmett
Copy link
Member

ekmett commented Jun 7, 2019

I have a module that exports several hundred pattern synonyms, often associated with data types.

However, I'm finding something very odd happening.

After a few dozen a large subset of the rest start getting their documentation associated with random other objects in the haddock!

Screen Shot 2019-06-06 at 10 47 15 PM
Screen Shot 2019-06-06 at 10 47 37 PM
Screen Shot 2019-06-06 at 10 48 01 PM
Screen Shot 2019-06-06 at 10 48 43 PM

Not sure if this is some interaction with the {-# line #-} directives produced by hsc2hs or some other artifact.

@harpocrates
Copy link
Collaborator

Wow! What a spectacular bug. Is there any chance you could link to the code (or some loosely stripped down version of it)? Also, which version of Haddock are you using to produce this?

@harpocrates harpocrates added the bug label Jun 7, 2019
@l29ah
Copy link

l29ah commented Jun 4, 2020

Likely to be related to #441

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants