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

Cover all the constructor names in GADT #108

Open
jinwoo opened this issue Oct 1, 2019 · 1 comment
Open

Cover all the constructor names in GADT #108

jinwoo opened this issue Oct 1, 2019 · 1 comment

Comments

@jinwoo
Copy link
Member

jinwoo commented Oct 1, 2019

Currently only the first constructor name is handled: https://github.com/google/haskell-indexer/blob/master/haskell-indexer-backend-ghc/src/Language/Haskell/Indexer/Backend/Ghc.hs#L327

@awpr
Copy link
Contributor

awpr commented May 11, 2020

Civilian's note: this appears to refer only to multiple constructors declared by the same ConDecl, rather than multiple ConDecls within a single HsDataDefn, e.g. we'd omit nodes/edges for B and C in the following:

data MyType where A, B, C :: MyType

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