Support ES6 imports in binder

This commit is contained in:
Anders Hejlsberg 2015-02-06 06:15:47 -08:00
parent 35583e6694
commit c6a6619ce7

View File

@ -467,6 +467,9 @@ module ts {
bindModuleDeclaration(<ModuleDeclaration>node);
break;
case SyntaxKind.ImportEqualsDeclaration:
case SyntaxKind.ImportClause:
case SyntaxKind.NamespaceImport:
case SyntaxKind.ImportSpecifier:
bindDeclaration(<Declaration>node, SymbolFlags.Import, SymbolFlags.ImportExcludes, /*isBlockScopeContainer*/ false);
break;
case SyntaxKind.SourceFile: