@@ -197,7 +197,7 @@ module ts {
197
197
198
198
function declareModuleMember ( node : Declaration , symbolKind : SymbolFlags , symbolExcludes : SymbolFlags ) {
199
199
var hasExportModifier = getCombinedNodeFlags ( node ) & NodeFlags . Export ;
200
- if ( symbolKind & SymbolFlags . Import ) {
200
+ if ( symbolKind & SymbolFlags . Alias ) {
201
201
if ( node . kind === SyntaxKind . ExportSpecifier || ( node . kind === SyntaxKind . ImportEqualsDeclaration && hasExportModifier ) ) {
202
202
declareSymbol ( container . symbol . exports , container . symbol , node , symbolKind , symbolExcludes ) ;
203
203
}
@@ -486,11 +486,11 @@ module ts {
486
486
case SyntaxKind . NamespaceImport :
487
487
case SyntaxKind . ImportSpecifier :
488
488
case SyntaxKind . ExportSpecifier :
489
- bindDeclaration ( < Declaration > node , SymbolFlags . Import , SymbolFlags . ImportExcludes , /*isBlockScopeContainer*/ false ) ;
489
+ bindDeclaration ( < Declaration > node , SymbolFlags . Alias , SymbolFlags . AliasExcludes , /*isBlockScopeContainer*/ false ) ;
490
490
break ;
491
491
case SyntaxKind . ImportClause :
492
492
if ( ( < ImportClause > node ) . name ) {
493
- bindDeclaration ( < Declaration > node , SymbolFlags . Import , SymbolFlags . ImportExcludes , /*isBlockScopeContainer*/ false ) ;
493
+ bindDeclaration ( < Declaration > node , SymbolFlags . Alias , SymbolFlags . AliasExcludes , /*isBlockScopeContainer*/ false ) ;
494
494
}
495
495
else {
496
496
bindChildren ( node , 0 , /*isBlockScopeContainer*/ false ) ;
@@ -506,7 +506,7 @@ module ts {
506
506
case SyntaxKind . ExportAssignment :
507
507
if ( ( < ExportAssignment > node ) . expression . kind === SyntaxKind . Identifier ) {
508
508
// 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 ) ;
510
510
}
511
511
else {
512
512
// An export default clause with an expression exports a value
0 commit comments