rescript-lang / rescript-lang/rescript-vscode
Lazy syntax shows error in vscode
Open
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
let a = lazy({})
// format to
let a = lazy {}
// and
let lazy(b) = a
// format to
let lazy b = a
But the current syntax check in vscode considers the formatted syntax to be incorrect syntax.
And
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Reproduce the issue in VSCode with the two ReScript snippets from the report, then trace the syntax-checking path; done means both formatted lazy forms are accepted without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100