mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Use createAndRecordTempVariable
This commit is contained in:
1 parent
63e1ddb043
commit
c291d12cae
1 file changed
+1
-2
@@ -2236,8 +2236,7 @@ module ts {
|
||||
}
|
||||
|
||||
function emitDownlevelTaggedTemplate(node: TaggedTemplateExpression) {
|
||||
var tempVariable = createTempVariable(node);
|
||||
recordTempDeclaration(tempVariable);
|
||||
var tempVariable = createAndRecordTempVariable(node);
|
||||
write("(");
|
||||
emit(tempVariable);
|
||||
write(" = ");
|
||||
|
||||
Reference in new issue
Block a user