2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////class c5b { public foo(){ } }
|
|
|
|
////module c5b { var y = 2; } // should be ok
|
|
|
|
////c5b./*1*/
|
|
|
|
////var r = new c5b();
|
|
|
|
////r./*2*/
|
|
|
|
|
|
|
|
goTo.marker('1');
|
2014-10-07 00:05:21 +02:00
|
|
|
verify.not.completionListContains('y', '(var) y: number');
|
2014-07-13 01:04:16 +02:00
|
|
|
edit.backspace(4);
|
|
|
|
goTo.marker('2');
|
2014-10-07 00:05:21 +02:00
|
|
|
verify.completionListContains('foo', '(method) c5b.foo(): void');
|