eed6f0deca
i.e. use "var v: string" instead of "(var) v: string". The parens case should only be used when we're using an english description instead of an actual language construct.
13 lines
No EOL
357 B
TypeScript
13 lines
No EOL
357 B
TypeScript
/// <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');
|
|
verify.not.completionListContains('y', 'var y: number');
|
|
edit.backspace(4);
|
|
goTo.marker('2');
|
|
verify.completionListContains('foo', '(method) c5b.foo(): void'); |