This commit is contained in:
Ryan Cavanaugh 2015-07-07 14:33:59 -07:00
parent 99fc99f3bc
commit 3ccaa0ee26

View File

@ -7096,9 +7096,8 @@ namespace ts {
// Look up the value in the current scope
if (node.tagName.kind === SyntaxKind.Identifier) {
let tag = <Identifier>node.tagName;
let maybeExportSymbol = getResolvedSymbol(<Identifier>node.tagName);
let maybeExportSymbol = getResolvedSymbol(tag);
let valueDecl = maybeExportSymbol.valueDeclaration;
valueSymbol = (valueDecl && valueDecl.localSymbol) || maybeExportSymbol;
}
else {