Skip to content

Remove invalid float enum example from RN Codegen#56489

Open
christophpurrer wants to merge 1 commit intofacebook:mainfrom
christophpurrer:export-D101433764
Open

Remove invalid float enum example from RN Codegen#56489
christophpurrer wants to merge 1 commit intofacebook:mainfrom
christophpurrer:export-D101433764

Conversation

@christophpurrer
Copy link
Copy Markdown
Contributor

Summary:
C++ enums cannot have float values - they must be int or long. This removes the invalid FloatEnum example (with values 0.0, 0.1, 0.2) from the react-native-codegen test fixtures and the corresponding enumFloat parameter reference. All affected test snapshots have been regenerated.

Changelog: [Internal]

Differential Revision: D101433764

Summary:
C++ enums cannot have float values - they must be int or long. This removes the invalid FloatEnum example (with values 0.0, 0.1, 0.2) from the react-native-codegen test fixtures and the corresponding enumFloat parameter reference. All affected test snapshots have been regenerated.

Changelog: [Internal]

Differential Revision: D101433764
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 18, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 18, 2026

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D101433764.

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 meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant