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

Don't generate different tags for type declaration and definition #48

Open
fakedrake opened this issue May 14, 2018 · 1 comment
Open

Comments

@fakedrake
Copy link

fakedrake commented May 14, 2018

Hasktags will produce two separate tags for

f :: Type
f = undefined

I can't think of a case where this is practical excapt maybe in the rare case where we have something like

f :: Type
-- Here 
-- Is
-- A
-- Lot
-- Of
-- Documentation
f = undefined

But even here both tags actually refer to the same definition. Maybe we could have a flag to switch between different ways of handling this? (I can implement this I just want to discuss it before I do)

@jhenahan
Copy link
Collaborator

I'm not seeing this behavior in 0.70.1. That may have been a consequence of a regression I introduced in 0.70. Would you be able to try with 0.70.1 and let me know if you're still seeing it?

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

2 participants