Skip to content

Conversation

@poteto
Copy link
Member

@poteto poteto commented Aug 1, 2025

This currently throws an invariant which may be misleading. I checked the ecma262 spec and used the same list of reserved words in our check. To err on the side of being conservative, we also error when strict mode reserved words are used.

@meta-cla meta-cla bot added the CLA Signed label Aug 1, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Aug 1, 2025
@poteto poteto force-pushed the pr34080 branch 3 times, most recently from 56e4e01 to 4cf1675 Compare August 1, 2025 17:09
…rved words

This currently throws an invariant which may be misleading. I checked the ecma262 spec and used the same list of reserved words in our check. To err on the side of being conservative, we also error when strict mode reserved words are used.
@poteto poteto merged commit 52612a7 into main Aug 1, 2025
22 checks passed
@poteto poteto deleted the pr34080 branch August 1, 2025 19:10
github-actions bot pushed a commit that referenced this pull request Aug 1, 2025
…rved words (#34080)

This currently throws an invariant which may be misleading. I checked
the ecma262 spec and used the same list of reserved words in our check.
To err on the side of being conservative, we also error when strict mode
reserved words are used.

DiffTrain build for [52612a7](52612a7)
github-actions bot pushed a commit that referenced this pull request Aug 1, 2025
…rved words (#34080)

This currently throws an invariant which may be misleading. I checked
the ecma262 spec and used the same list of reserved words in our check.
To err on the side of being conservative, we also error when strict mode
reserved words are used.

DiffTrain build for [52612a7](52612a7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants