Skip to content

Commit 9636142

Browse files
committed
Comment cleanup
1 parent 19695f9 commit 9636142

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
@@ -3258,7 +3258,7 @@ module ts {
32583258
return Tristate.True;
32593259
}
32603260

3261-
// If we had something like "(" followed by something that's not an identifier,
3261+
// If we had "(" followed by something that's not an identifier,
32623262
// then this definitely doesn't look like a lambda.
32633263
// Note: we could be a little more lenient and allow
32643264
// "(public" or "(private". These would not ever actually be allowed,
@@ -3267,7 +3267,7 @@ module ts {
32673267
return Tristate.False;
32683268
}
32693269

3270-
// If we have something like "(a:", then we may have a
3270+
// If we have something like "(a:", then we must have a
32713271
// type-annotated parameter in an arrow function expression.
32723272
if (nextToken() === SyntaxKind.ColonToken) {
32733273
return Tristate.True;

0 commit comments

Comments
 (0)