From 9880f935eeb6627e04926d79995a9d90a6355495 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 11 Nov 2014 13:15:32 -0800 Subject: [PATCH] Asserting myself. --- src/compiler/checker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 2b9f7d5eb6b..2b8a74a5257 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -5249,6 +5249,7 @@ module ts { // then this might actually turn out to be a TemplateHead in the future; // so we consider the call to be incomplete. var templateLiteral = tagExpression.template; + Debug.assert(templateLiteral.kind === SyntaxKind.NoSubstitutionTemplateLiteral); callIsIncomplete = isUnterminatedTemplateEnd(templateLiteral); } }