From 96361427333de2f83e33a0055adb30bf510a54e2 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Thu, 9 Apr 2015 17:47:56 -0700 Subject: [PATCH] Comment cleanup --- src/compiler/parser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index c6ae2972b30..19dbc1a962f 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -3258,7 +3258,7 @@ module ts { return Tristate.True; } - // If we had something like "(" followed by something that's not an identifier, + // If we had "(" followed by something that's not an identifier, // then this definitely doesn't look like a lambda. // Note: we could be a little more lenient and allow // "(public" or "(private". These would not ever actually be allowed, @@ -3267,7 +3267,7 @@ module ts { return Tristate.False; } - // If we have something like "(a:", then we may have a + // If we have something like "(a:", then we must have a // type-annotated parameter in an arrow function expression. if (nextToken() === SyntaxKind.ColonToken) { return Tristate.True;