/// ////interface IFoo { //// x: number; //// y: string; ////} //// ////function foo() { //// var s:S, t: T, u: U, v: V; //// s./*S*/; // no constraint, no completion //// t./*T*/; // IFoo //// u./*U*/; // IFoo //// v./*V*/; // IFoo ////} goTo.marker("S"); verify.memberListIsEmpty(); goTo.marker("T"); verify.memberListContains("x", "(property) IFoo.x: number"); verify.memberListContains("y", "(property) IFoo.y: string"); verify.memberListCount(2); goTo.marker("U"); verify.memberListContains("toString", "(method) Object.toString(): string"); verify.memberListCount(7); // constructor, toString, toLocaleString, valueOf, hasOwnProperty, isPrototypeOf, propertyIsEnumerable goTo.marker("V"); verify.memberListContains("x", "(property) IFoo.x: number"); verify.memberListContains("y", "(property) IFoo.y: string"); verify.memberListCount(2);