Skip to content

Extend inline meta continuations#149

Merged
adamcavendish merged 1 commit into
masterfrom
adamcavendish/inline-for-continuations-docs
Jun 21, 2026
Merged

Extend inline meta continuations#149
adamcavendish merged 1 commit into
masterfrom
adamcavendish/inline-for-continuations-docs

Conversation

@adamcavendish

Copy link
Copy Markdown
Collaborator

Summary

  • allow inline $for and $if to continue after safe newline punctuation: = and |
  • keep plain newline $for/$if statement-level after Python colons, nullable ?, and comma-separated declarations
  • improve $for option diagnostics and document inline separator examples

Verification

  • cargo test
  • just lint
  • cargo fmt --check
  • git diff --check
  • cargo run --example inline_control_flow
  • cargo run --example macro_features
  • mdbook build docs
  • isolated mdbook test docs -L <isolated>/debug/deps
  • Codex review gate: PASS, no [P1] findings

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@adamcavendish adamcavendish merged commit 5ff701d into master Jun 21, 2026
8 checks passed
@adamcavendish adamcavendish deleted the adamcavendish/inline-for-continuations-docs branch June 21, 2026 07:23
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.

2 participants