Skip to content

Avoid redundant casts in Form Designer code generation - #184

Merged
adamdriscoll merged 1 commit into
mainfrom
codex/fix-form-designer-casting
Jul 30, 2026
Merged

Avoid redundant casts in Form Designer code generation#184
adamdriscoll merged 1 commit into
mainfrom
codex/fix-form-designer-casting

Conversation

@adamdriscoll

Copy link
Copy Markdown
Member

Summary

  • Collapse nested casts with matching target types.
  • Skip casts when a primitive already has the target type.
  • Add coverage for redundant cast generation.

Testing

  • Added a unit test verifying simplified cast output.

@adamdriscoll
adamdriscoll merged commit e93f588 into main Jul 30, 2026
1 check passed
@adamdriscoll
adamdriscoll deleted the codex/fix-form-designer-casting branch July 30, 2026 14:48
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