From 3ccaa0ee261c70cd32e31af3e458c44a23fe6b10 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Tue, 7 Jul 2015 14:33:59 -0700 Subject: [PATCH] Cleanup --- src/compiler/checker.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 842b6dcd550..da7ac5844b8 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -7096,9 +7096,8 @@ namespace ts { // Look up the value in the current scope if (node.tagName.kind === SyntaxKind.Identifier) { let tag = node.tagName; - let maybeExportSymbol = getResolvedSymbol(node.tagName); + let maybeExportSymbol = getResolvedSymbol(tag); let valueDecl = maybeExportSymbol.valueDeclaration; - valueSymbol = (valueDecl && valueDecl.localSymbol) || maybeExportSymbol; } else {