haskell / haskell/vscode-haskell-syntax-highlighting
Mis-scope of let-binding declarations immediately followed by signatures
Open
wontfix
- Dominant language
- Haskell
- Stars
- 109
- Forks
- 51
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 2
Description
The first local signature (for `x :: ()`) in the image below should have the same scope as the signature for `y` below it:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Haskell snippet shown in the issue in VS Code and trace the syntax-highlighting grammar that assigns scopes to local signatures. Done means the x :: () declaration receives the same scope as the y signature immediately below it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100