From a71c527a9ea7128681a47269db798a151ccfdf4f Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 20 Nov 2014 17:56:24 -0800 Subject: [PATCH] Amended comment. --- src/compiler/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index f7c9635eb04..a1e050b8fb1 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -822,7 +822,7 @@ module ts { return false; } - // We can only be unclosed if we have a tail or a no-sub template. + // The literal can only be unterminated if it is a template tail or a no-sub template. if (node.kind !== SyntaxKind.TemplateTail && node.kind !== SyntaxKind.NoSubstitutionTemplateLiteral) { return false; }