haskell / haskell/vscode-haskell-syntax-highlighting

Bracketed type signatures over multiple lines aren't highlighted properly

Open
#178 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Haskell
Stars
109
Forks
51
Avg merge
3d 8h
Merged PRs (30d)
2

Description

Viz.:
![multiline_issue](https://user-images.githubusercontent.com/1297748/98989278-318ad100-2529-11eb-8c81-95432ebebdd0.png)

GitHub highlighting also suffers from the same issue it seems:

```haskell
proof :: SomeVeryLongExpression a b
:~: SomeOtherLongExpression c d

quux ( proof :: SomeVeryLongExpression a b
:~: SomeOtherLongExpression c d
)

quux [ x :: a
B c ]

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.