///
////class C {
//// constructor(x: T) { }
//// foo(x: T) {
//// return (a: T) => x;
//// }
////}
////var x = new C(1);
////var /*2*/r = x.foo(/*1*/3);
////var /*4*/r2 = r(/*3*/4);
goTo.marker('1');
verify.currentSignatureHelpIs('foo(x: number): (a: number) => number');
goTo.marker('2');
verify.quickInfoIs('(var) r: (a: number) => number');
goTo.marker('3');
verify.currentSignatureHelpIs('r(a: number): number');
goTo.marker('4');
verify.quickInfoIs('(var) r2: number');