TypeScript/tests/cases/fourslash/protoVarVisibleWithOuterScopeUnderscoreProto.ts
Cyrus Najmabadi eed6f0deca Use an output format for quickinfo that more closely matches the original source.
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.
2015-03-24 00:16:49 -07:00

13 lines
328 B
TypeScript

/// <reference path='fourslash.ts' />
////// outer
////var ___proto__ = 10;
////function foo() {
//// var __proto__ = "hello";
//// /**/
////}
goTo.marker('');
verify.completionListContains("__proto__", '(local var) __proto__: string');
verify.completionListContains("___proto__", 'var ___proto__: number');