File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -2195,7 +2195,7 @@ module ts {
2195
2195
else {
2196
2196
isMemberCompletion = false ;
2197
2197
/// TODO filter meaning based on the current context
2198
- var symbolMeanings = SymbolFlags . Type | SymbolFlags . Value | SymbolFlags . Namespace ;
2198
+ var symbolMeanings = SymbolFlags . Type | SymbolFlags . Value | SymbolFlags . Namespace | SymbolFlags . Import ;
2199
2199
var symbols = typeInfoResolver . getSymbolsInScope ( mappedNode , symbolMeanings ) ;
2200
2200
2201
2201
getCompletionEntriesFromSymbols ( symbols , activeCompletionSession ) ;
Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts' />
2
+
3
+ ////module M {
4
+ //// export var value;
5
+ ////
6
+ //// import x = M;
7
+ //// /*1*/
8
+ //// x./*2*/
9
+ //// }
10
+
11
+ goTo . marker ( "1" ) ;
12
+ verify . memberListContains ( "x" ) ;
13
+
14
+ goTo . marker ( "2" ) ;
15
+ verify . memberListContains ( "value" ) ;
You can’t perform that action at this time.
0 commit comments