Skip to content

Fix type operators not being recognised in Haskell#913

Merged
alecthomas merged 1 commit intoalecthomas:masterfrom
phagenlocher:fix-haskell-typeoperators
Jan 9, 2024
Merged

Fix type operators not being recognised in Haskell#913
alecthomas merged 1 commit intoalecthomas:masterfrom
phagenlocher:fix-haskell-typeoperators

Conversation

@phagenlocher
Copy link
Copy Markdown
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
@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.

2 participants