Skip to content

fix(RenderBox): make moveContents nonnull - #76

Merged
Kyle-Ye merged 1 commit into
mainfrom
fix/move-contents-nullability
Oct 11, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
fix/move-contents-nullability

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 11, 2026

Copy link
Copy Markdown
Member

RBDisplayList.moveContents returns a contents object even when the display list is empty. Remove the nullable annotation so Swift imports the result as nonoptional, and update all four RenderBox framework header copies.

Verified the Swift result type on macOS and iOS Simulator. A macOS runtime probe passed for empty, populated, and repeated moves.

@Kyle-Ye
Kyle-Ye merged commit 10ace67 into main Oct 11, 2026
3 checks passed
@Kyle-Ye
Kyle-Ye deleted the fix/move-contents-nullability branch October 11, 2026 16:55
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