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

No tags for projections in record pattern synonyms #8

Open
andreasabel opened this issue Oct 19, 2022 · 0 comments
Open

No tags for projections in record pattern synonyms #8

andreasabel opened this issue Oct 19, 2022 · 0 comments

Comments

@andreasabel
Copy link
Member

E.g. this definition:

{-# LANGUAGE PatternSynonyms #-}

pattern MyJust :: a -> Maybe a
pattern MyJust { theThing } = Just theThing

just produces (with hs-tags Foo.hs -c) a tag for the MyJust synonym, but not the theThing field:

MyJust	RecordPatternSynonym.hs	3
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

1 participant