Skip to content

docs(claude): add Noir early return idiom to CLAUDE.md#21021

Merged
benesjan merged 1 commit intomerge-train/fairiesfrom
jan/noir-no-early-return-idiom
Mar 3, 2026
Merged

docs(claude): add Noir early return idiom to CLAUDE.md#21021
benesjan merged 1 commit intomerge-train/fairiesfrom
jan/noir-no-early-return-idiom

Conversation

@benesjan
Copy link
Contributor

@benesjan benesjan commented Mar 3, 2026

Summary

  • Documents that early return is not supported in Noir in the aztec-nr CLAUDE.md
  • Shows the idiomatic if/else pattern to use instead of early returns

Test plan

  • No code changes, documentation only

🤖 Generated with Claude Code

Document that early `return` is not supported in Noir and show the
idiomatic if/else pattern to use instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@benesjan benesjan requested a review from nventuro as a code owner March 3, 2026 01:46
@benesjan benesjan requested review from nchamo and removed request for nventuro March 3, 2026 01:48
@benesjan benesjan merged commit 51c09aa into merge-train/fairies Mar 3, 2026
16 of 20 checks passed
@benesjan benesjan deleted the jan/noir-no-early-return-idiom branch March 3, 2026 01:51
@benesjan benesjan removed the request for review from nchamo March 3, 2026 01:52
github-merge-queue bot pushed a commit that referenced this pull request Mar 3, 2026
BEGIN_COMMIT_OVERRIDE
feat: allow custom addresses to be prefunded with fee juice in local
network (#21000)
docs(claude): add Noir early return idiom to CLAUDE.md (#21021)
feat: add compile-time size check for events and error code links
(#21024)
feat: use warn_log_format for discarded messages (#21053)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant