Skip to content

Conversation

@zharinov
Copy link
Member

Summary

  • Use continue in diagnostics printer loop to reduce nesting for cross-file snippet handling
  • Use early return in format_node_with_field for empty children case, flattening main logic
  • Use early return in unwrap_optional for non-optional case, putting success path at end

Test plan

  • All 672 tests pass

@zharinov zharinov enabled auto-merge (squash) December 31, 2025 12:55
@zharinov zharinov merged commit 160be4c into master Dec 31, 2025
4 checks passed
@zharinov zharinov deleted the refactor/early-exits branch December 31, 2025 12:56
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