Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/compiler/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2357,7 +2357,7 @@ namespace Parser {

/**
* Provides a better error message than the generic "';' expected" if possible for
* known common variants of a missing semicolon, such as from a mispelled names.
* known common variants of a missing semicolon, such as from misspelled names.
*
* @param node Node preceding the expected semicolon location.
*/
Expand Down Expand Up @@ -2421,7 +2421,7 @@ namespace Parser {
return;
}

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

Expand Down
Loading