Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix style resolution functions returning FloatOptional #39595

Closed
wants to merge 1 commit into from

Conversation

NickGerleman
Copy link
Contributor

Summary: These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return float instead of FloatOptional, and do some additional cleanup.

Differential Revision: D49531421

@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 Sep 22, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Sep 22, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 16,901,398 -818
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 20,380,170 -814
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 5dedf27
Branch: main

@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 22, 2023
Summary:
Pull Request resolved: facebook#39595

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Differential Revision: D49531421

fbshipit-source-id: 3057e58cdd112a0cb87b1e920aef9c6010954a31
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 22, 2023
Summary:
Pull Request resolved: facebook#39595

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Differential Revision: D49531421

fbshipit-source-id: 6e12f43410ada6b85d57083d4bc690395554367f
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 26, 2023
Summary:
Pull Request resolved: facebook#39595

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Differential Revision: D49531421

fbshipit-source-id: 209eb8d7b8f8e9d3479a83e764b4b3d3a964b463
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 26, 2023
Summary:
Pull Request resolved: facebook#39595

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Differential Revision: D49531421

fbshipit-source-id: 809ec7c722122074ebdaa689ace52f1dc43048b9
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 28, 2023
Summary:
Pull Request resolved: facebook#39595

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Differential Revision: D49531421

fbshipit-source-id: 4f38d5e205d2356faf8bd456667a2f3c520d0728
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 3, 2023
Summary:
Pull Request resolved: facebook#39595

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Reviewed By: rshest

Differential Revision: D49531421

fbshipit-source-id: affb992588dbeede66d49cc476049c2d5cc96408
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 3, 2023
Summary:

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Reviewed By: rshest

Differential Revision: D49531421
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 3, 2023
Summary:

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Reviewed By: rshest

Differential Revision: D49531421
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 3, 2023
Summary:

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Reviewed By: rshest

Differential Revision: D49531421
@facebook-github-bot
Copy link
Contributor

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

Summary:

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Reviewed By: rshest

Differential Revision: D49531421
@facebook-github-bot
Copy link
Contributor

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

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Warnings
⚠️ One hour and a half have passed and the E2E jobs haven't finished yet.

Generated by 🚫 dangerJS against 55b7a1a

facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Oct 3, 2023
Summary:
X-link: facebook/react-native#39595

X-link: facebook/yoga#1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Reviewed By: rshest

Differential Revision: D49531421

fbshipit-source-id: 95b21cade74e501dd54c7b6ca667c8c3859c5dae
facebook-github-bot pushed a commit to facebook/yoga that referenced this pull request Oct 3, 2023
Summary:
X-link: facebook/react-native#39595

Pull Request resolved: #1404

These functions all ensure their returns are defined, but return FloatOptional anyway, making their callers have to deal with that possibility. Return `float` instead of `FloatOptional`, and do some additional cleanup.

Reviewed By: rshest

Differential Revision: D49531421

fbshipit-source-id: 95b21cade74e501dd54c7b6ca667c8c3859c5dae
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

This pull request was successfully merged by @NickGerleman in 72d0fed.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions bot added the Merged This PR has been merged. label Oct 3, 2023
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.

3 participants