Skip to content

compiler: flatten parenthesized inline suites - #3194

Open
floitsch wants to merge 2 commits into
formatter/08-source-preservationfrom
formatter/09-inline-suites
Open

floitsch wants to merge 2 commits into
formatter/08-source-preservationfrom
formatter/09-inline-suites

Conversation

@floitsch

@floitsch floitsch commented Aug 26, 2026 •

Copy link
Copy Markdown
Member

Part 9 of 10 in the AST-driven Toit pretty-printer stack. Depends on #3193.

Summary

  • render parenthesized multi-expression suites with canonical semicolon separation
  • support return, break, and continue inside parenthesized inline suites
  • keep ordinary multi-statement suites multiline

Verification

  • public-command gold cases cover parenthesized named blocks with assignment and return
  • the changes close the final semantic-verification failures found by the 269-file corpus probe

Stack created with GitHub Stacks CLI

@floitsch floitsch changed the title formatter/09 inline suites compiler: flatten parenthesized inline suites Aug 26, 2026
@floitsch
floitsch force-pushed the formatter/09-inline-suites branch from 97c0b76 to aac997b Compare August 30, 2026 11:08
@floitsch
floitsch force-pushed the formatter/09-inline-suites branch from aac997b to 26789e7 Compare August 30, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant