Don't print cuts between empty blocks in pretty printer
Open
A pull request for this has already been merged.
- #1233 by @WardBrian — merged
cleanup
cpp-codegen
good first issue
- Dominant language
- OCaml
- Stars
- 160
- Forks
- 59
- Avg merge
- 21h 45m
- Merged PRs (30d)
- 26
Description
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
Read src/middle/Program.ml at lines 117-129 and inspect the linked pull request #1233 for the existing resolution. Confirm how the pretty printer handles adjacent empty blocks and verify that it no longer prints cuts between them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100