2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////module TypeModule1 {
|
|
|
|
//// export class C1 { }
|
|
|
|
//// export class C2 { }
|
|
|
|
////}
|
|
|
|
////var x: TypeModule1./*namedType*/
|
|
|
|
////module TypeModule2 {
|
|
|
|
//// export class Test3 {}
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////TypeModule1./*dotedExpression*/
|
|
|
|
////module TypeModule3 {
|
|
|
|
//// export class Test3 {}
|
|
|
|
////}
|
|
|
|
|
|
|
|
// Verify the memberlist of module when the following line has a keyword
|
|
|
|
goTo.marker('namedType');
|
2014-09-13 01:48:52 +02:00
|
|
|
verify.completionListContains('C1');
|
|
|
|
verify.completionListContains('C2');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('dotedExpression');
|
2014-09-13 01:48:52 +02:00
|
|
|
verify.completionListContains('C1');
|
|
|
|
verify.completionListContains('C2');
|