@@ -197,7 +197,7 @@ module ts {
197197
198198 function declareModuleMember ( node : Declaration , symbolKind : SymbolFlags , symbolExcludes : SymbolFlags ) {
199199 var hasExportModifier = getCombinedNodeFlags ( node ) & NodeFlags . Export ;
200- if ( symbolKind & SymbolFlags . Import ) {
200+ if ( symbolKind & SymbolFlags . Alias ) {
201201 if ( node . kind === SyntaxKind . ExportSpecifier || ( node . kind === SyntaxKind . ImportEqualsDeclaration && hasExportModifier ) ) {
202202 declareSymbol ( container . symbol . exports , container . symbol , node , symbolKind , symbolExcludes ) ;
203203 }
@@ -486,11 +486,11 @@ module ts {
486486 case SyntaxKind . NamespaceImport :
487487 case SyntaxKind . ImportSpecifier :
488488 case SyntaxKind . ExportSpecifier :
489- bindDeclaration ( < Declaration > node , SymbolFlags . Import , SymbolFlags . ImportExcludes , /*isBlockScopeContainer*/ false ) ;
489+ bindDeclaration ( < Declaration > node , SymbolFlags . Alias , SymbolFlags . AliasExcludes , /*isBlockScopeContainer*/ false ) ;
490490 break ;
491491 case SyntaxKind . ImportClause :
492492 if ( ( < ImportClause > node ) . name ) {
493- bindDeclaration ( < Declaration > node , SymbolFlags . Import , SymbolFlags . ImportExcludes , /*isBlockScopeContainer*/ false ) ;
493+ bindDeclaration ( < Declaration > node , SymbolFlags . Alias , SymbolFlags . AliasExcludes , /*isBlockScopeContainer*/ false ) ;
494494 }
495495 else {
496496 bindChildren ( node , 0 , /*isBlockScopeContainer*/ false ) ;
@@ -506,7 +506,7 @@ module ts {
506506 case SyntaxKind . ExportAssignment :
507507 if ( ( < ExportAssignment > node ) . expression . kind === SyntaxKind . Identifier ) {
508508 // An export default clause with an identifier exports all meanings of that identifier
509- declareSymbol ( container . symbol . exports , container . symbol , < Declaration > node , SymbolFlags . Import , SymbolFlags . ImportExcludes ) ;
509+ declareSymbol ( container . symbol . exports , container . symbol , < Declaration > node , SymbolFlags . Alias , SymbolFlags . AliasExcludes ) ;
510510 }
511511 else {
512512 // An export default clause with an expression exports a value
0 commit comments