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

Pragma after data declaration not properly highlighted #150

Closed
sheaf opened this issue May 3, 2020 · 1 comment
Closed

Pragma after data declaration not properly highlighted #150

sheaf opened this issue May 3, 2020 · 1 comment

Comments

@sheaf
Copy link
Collaborator

sheaf commented May 3, 2020

In the following example, the pragma is wrongly highlighted as a comment.

data D = C

{-# COMPLETE P #-}
pattern P :: D
pattern P = C

This regression was caused by b39c52a. Will investigate later.

@sheaf
Copy link
Collaborator Author

sheaf commented May 3, 2020

Fixed with a0b8ea7. Added regression tests with T0150.

@sheaf sheaf closed this as completed May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant