Asserting myself.

This commit is contained in:
Daniel Rosenwasser
2014-11-11 13:15:32 -08:00
parent 6d353c078c
commit 9880f935ee

View File

@@ -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 = <LiteralExpression>tagExpression.template;
Debug.assert(templateLiteral.kind === SyntaxKind.NoSubstitutionTemplateLiteral);
callIsIncomplete = isUnterminatedTemplateEnd(templateLiteral);
}
}