Skip to content

Fix up designated initializers 8/x (#47300)#47316

Closed
NSProgrammer wants to merge 2 commits into
facebook:mainfrom
NSProgrammer:export-D65180118
Closed

Fix up designated initializers 8/x (#47300)#47316
NSProgrammer wants to merge 2 commits into
facebook:mainfrom
NSProgrammer:export-D65180118

Conversation

@NSProgrammer
Copy link
Copy Markdown
Contributor

Summary:

In preparation of enabling -Wobjc-designated-initializers error

Reviewed By: caodoan

Differential Revision: D65180118

Summary:

We're going to fix up a bunch of designated initializers.  `RCTSurfaceHostingProxyRootView` is particularly problematic because different initializers will do different things even though reading the code it looks like they should be equivalent.  Remove the encapsulated "start" to the provided "surface", and require it to be explicit at the callsite.

Reviewed By: cipolleschi

Differential Revision: D65214656
Summary:

In preparation of enabling `-Wobjc-designated-initializers` error

Reviewed By: caodoan

Differential Revision: D65180118
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Oct 30, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65180118

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in b98846c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants