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

Fix type operators not being recognised in Haskell #913

Merged

Conversation

phagenlocher
Copy link
Contributor

As was pointed out in #793, the Haskell lexer does not handle type operators correctly. This patch fixes this, by explicitly allowing operators prefixed with '.


Before

Screenshot 2024-01-08 at 23 17 04 Screenshot 2024-01-08 at 23 04 44

After

Screenshot 2024-01-08 at 23 17 23 Screenshot 2024-01-08 at 23 06 48

@alecthomas alecthomas merged commit 641b06f into alecthomas:master Jan 9, 2024
2 checks passed
@phagenlocher phagenlocher deleted the fix-haskell-typeoperators branch January 9, 2024 10:34
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

Successfully merging this pull request may close these issues.

None yet

2 participants