indenter mishandles multiline `match` clause body starting with literal value
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 250
- Forks
- 102
- Avg merge
- 11d 11h
- Merged PRs (30d)
- 1
Description
If a match clause starts with a literal value, and the clause body goes onto a second line or more, those extra result lines are indented incorrectly.
#lang racket
(match 42
[42 'this
'that])
#lang at-exp racket
(match 42
[42 'this
'that])
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the two supplied match examples, comparing the regular Racket and at-exp Racket indentation. Locate the indenter entry point that handles multiline match clause bodies, then add or update coverage for these examples. Done means the continuation result lines receive the expected indentation in both cases.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100