fix(compiler): small improvement to error message handling#63255
fix(compiler): small improvement to error message handling#63255Vikash9546 wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Made-with: Cursor
There was a problem hiding this comment.
Pull request overview
This PR corrects minor spelling/grammar in parser documentation/comments to reduce confusion when working around parseErrorForMissingSemicolonAfter, without changing compiler behavior.
Changes:
- Fix spelling in JSDoc (“mispelled” → “misspelled”).
- Fix grammar in an inline comment (“this some kind” → “this is some kind”).
You can also share your feedback on Copilot code review. Take the survey.
|
From the Pull Request Template:
|
|
What problem exists
A small typo/grammar issue in
parseErrorForMissingSemicolonAfter's documentation can be a minor distraction when working on parser diagnostics.Why this change is useful
This PR corrects wording in two nearby comments in
src/compiler/parser.ts, making the intent clearer without changing any compiler behavior.Files modified
src/compiler/parser.tsTests
npm run build.npm testfails locally withEMFILE: too many open files, watchinunittests:: sys:: symlinkWatching::(environment/FS watcher limit); the change does not affect runtime or test logic.Made with Cursor