Skip to content

Fix "instrinsic" typo in function name to "intrinsic"#1928

Closed
J8118 wants to merge 1 commit into
react:mainfrom
J8118:fix/rename-intrinsic-typo
Closed

Fix "instrinsic" typo in function name to "intrinsic"#1928
J8118 wants to merge 1 commit into
react:mainfrom
J8118:fix/rename-intrinsic-typo

Conversation

@J8118

@J8118 J8118 commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

The function instrinsicSizeMeasureFunc is misspelled — "instrinsic" should be "intrinsic". This typo originated in the utility function definition and was propagated by the test generator to all generated test files.

Files changed:

  • javascript/tests/tools/utils.ts — function definition (source of truth)
  • gentest/src/emitters/JavascriptEmitter.ts — generator that emits the import and usage
  • 26 generated test files in javascript/tests/generated/ — updated to match

Test plan

  • Rename only — no logic changes
  • All import references updated consistently across source, generator, and generated files
  • Verified zero remaining instances of "instrinsic" in the codebase

Rename instrinsicSizeMeasureFunc -> intrinsicSizeMeasureFunc across
the source definition (utils.ts), the test generator
(JavascriptEmitter.ts), and all generated test files.
@vercel

vercel Bot commented Apr 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
yoga-website Ready Ready Preview, Comment Apr 9, 2026 4:47am

Request Review

@meta-cla meta-cla Bot added the CLA Signed label Apr 9, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Apr 9, 2026
@meta-codesync

meta-codesync Bot commented Apr 9, 2026

Copy link
Copy Markdown

@fabriziocucci has imported this pull request. If you are a Meta employee, you can view this in D100144238.

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync

meta-codesync Bot commented Apr 9, 2026

Copy link
Copy Markdown

@fabriziocucci merged this pull request in fb8e618.

J8118 added a commit to J8118/yoga that referenced this pull request Apr 9, 2026
Fix "instrinsic" typo in function name to "intrinsic" (react#1928)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Merged Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants