Skip to content

Commit ab174f7

Browse files
committed
fix(compiler): correct minor parser comment typos
Made-with: Cursor
1 parent 9059e5b commit ab174f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/parser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2357,7 +2357,7 @@ namespace Parser {
23572357

23582358
/**
23592359
* Provides a better error message than the generic "';' expected" if possible for
2360-
* known common variants of a missing semicolon, such as from a mispelled names.
2360+
* known common variants of a missing semicolon, such as from misspelled names.
23612361
*
23622362
* @param node Node preceding the expected semicolon location.
23632363
*/
@@ -2421,7 +2421,7 @@ namespace Parser {
24212421
return;
24222422
}
24232423

2424-
// Otherwise, we know this some kind of unknown word, not just a missing expected semicolon.
2424+
// Otherwise, we know this is some kind of unknown word, not just a missing expected semicolon.
24252425
parseErrorAt(pos, node.end, Diagnostics.Unexpected_keyword_or_identifier);
24262426
}
24272427

0 commit comments

Comments
 (0)