diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 42af2b52210..9ec83501e48 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -3093,10 +3093,10 @@ module ts { function canFollowTypeArgumentsInExpression(): boolean { switch (token) { case SyntaxKind.OpenParenToken: // foo( - case SyntaxKind.DotToken: // foo. - // These two cases are the only cases where this token can legally follow a - // type argument list. So we definitely want to treat this as a type arg list. + // this case are the only case where this token can legally follow a type argument + // list. So we definitely want to treat this as a type arg list. + case SyntaxKind.DotToken: // foo. case SyntaxKind.CloseParenToken: // foo) case SyntaxKind.CloseBracketToken: // foo] case SyntaxKind.ColonToken: // foo: