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

Type signature in pattern synonym incorrectly highlighted #194

Open
sheaf opened this issue Aug 24, 2021 · 0 comments
Open

Type signature in pattern synonym incorrectly highlighted #194

sheaf opened this issue Aug 24, 2021 · 0 comments
Labels

Comments

@sheaf
Copy link
Collaborator

sheaf commented Aug 24, 2021

Including a type-signature in a pattern synonym seems to cause an issue:

pattern MkZ fld3 <- ( foo -> ( fld3 :: TYPE rep ) )
  where
    MkZ fld3 = bar

bad_PS

Without the type-signature, it's OK:

good_PS

@sheaf sheaf added the bug label Aug 24, 2021
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

1 participant