Skip to content

cli: split parse_options so the released compiler can build main - #4232

Merged
BaseMax merged 1 commit into
mainfrom
fix/parse-options-depth
Nov 25, 2026
Merged

BaseMax merged 1 commit into
mainfrom
fix/parse-options-depth

Conversation

@BaseMax

@BaseMax BaseMax commented Nov 25, 2026

Copy link
Copy Markdown
Member

The UI gate builds main with the latest release as the seed, and 0.7.0 stops at compiler/cli/cli_parse.salam with if/else chain nested too deeply: the option chain in parse_options had grown to 128 branches. The second half now lives in parse_option_tail (48 branches, the head keeps 79). Behavior is unchanged.

Checked by bootstrapping this tree with the 0.7.0 release binary as the seed, cli_test (341 pass) and the init section.

@BaseMax
BaseMax requested a review from a team as a code owner November 25, 2026 11:29
@BaseMax
BaseMax merged commit b4ef41f into main Nov 25, 2026
@BaseMax
BaseMax deleted the fix/parse-options-depth branch November 25, 2026 11:29
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant