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; }