Fix duplicated-word and misspelled comment/doc typos#2092
Closed
durvesh1992 wants to merge 1 commit into
Closed
Conversation
Fixes comment-only and documentation typos found via an inspection sweep:
duplicated words ("the the", "with with", "for for", "that that", etc.) and
common misspellings (Overriden -> Overridden, funciton -> function,
Supress -> Suppress, sucessfully -> successfully, Wether -> Whether).
These are comment/doc-comment/markdown changes only; no code logic is affected.
Candidates already covered by other open typo PRs were excluded.
Contributor
|
Sorry, we don't take typo PRs on this repo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes comment-only and documentation typos found via an inspection-only sweep of the codebase (dual pass: duplicated-word regex + common-misspelling wordlist, each hit manually confirmed). No code logic is changed — every edit is inside a
//////comment, a block comment, or a Markdown doc.I deliberately excluded candidates already covered by the open typo PRs #1976 and #1656, as well as
enviroment(#1900). Generated/vendored trees (external/,third-party/,benchmarks/vendored JS) and test CHECK fixtures were skipped.Categories
Before / After (sample)
include/hermes/Regex/Regex.h:88include/hermes/VM/ArrayStorage.h:54include/hermes/VM/ModuleExportsCache.h:26lib/Support/BigIntSupport.cpp:410lib/Support/OSCompatPosix.cpp:502lib/VM/DictPropertyMap.cpp:174doc/IR.md:217,228,238,248include/hermes/BCGen/HBC/BCProvider.h:278include/hermes/Support/SourceErrorManager.h:171include/hermes/Support/SourceErrorManager.h:476API/hermes/CompileJS.h:48tools/hermes-parser/.../HermesASTAdapter.js:76,107Full set: 25 single-token fixes across 18 files (
git diff --stat: 25 insertions, 25 deletions).