2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
/////** this is signature 1*/
|
|
|
|
////function /*1*/f1(/**param a*/a: number): number;
|
|
|
|
////function /*2*/f1(b: string): number;
|
|
|
|
////function /*3*/f1(aOrb: any) {
|
|
|
|
//// return 10;
|
|
|
|
////}
|
|
|
|
////f/*4q*/1(/*4*/"hello");
|
|
|
|
////f/*o4q*/1(/*o4*/10);
|
|
|
|
////function /*5*/f2(/**param a*/a: number): number;
|
|
|
|
/////** this is signature 2*/
|
|
|
|
////function /*6*/f2(b: string): number;
|
|
|
|
/////** this is f2 var comment*/
|
|
|
|
////function /*7*/f2(aOrb: any) {
|
|
|
|
//// return 10;
|
|
|
|
////}
|
|
|
|
////f/*8q*/2(/*8*/"hello");
|
|
|
|
////f/*o8q*/2(/*o8*/10);
|
|
|
|
////function /*9*/f3(a: number): number;
|
|
|
|
////function /*10*/f3(b: string): number;
|
|
|
|
////function /*11*/f3(aOrb: any) {
|
|
|
|
//// return 10;
|
|
|
|
////}
|
|
|
|
////f/*12q*/3(/*12*/"hello");
|
|
|
|
////f/*o12q*/3(/*o12*/10);
|
|
|
|
/////** this is signature 4 - with number parameter*/
|
|
|
|
////function /*13*/f4(/**param a*/a: number): number;
|
|
|
|
/////** this is signature 4 - with string parameter*/
|
|
|
|
////function /*14*/f4(b: string): number;
|
|
|
|
////function /*15*/f4(aOrb: any) {
|
|
|
|
//// return 10;
|
|
|
|
////}
|
|
|
|
////f/*16q*/4(/*16*/"hello");
|
|
|
|
////f/*o16q*/4(/*o16*/10);
|
|
|
|
/////*17*/
|
|
|
|
////interface i1 {
|
|
|
|
//// /**this signature 1*/
|
|
|
|
//// (/**param a*/ a: number): number;
|
|
|
|
//// /**this is signature 2*/
|
|
|
|
//// (b: string): number;
|
|
|
|
//// /** foo 1*/
|
|
|
|
//// foo(a: number): number;
|
|
|
|
//// /** foo 2*/
|
|
|
|
//// foo(b: string): number;
|
|
|
|
//// foo2(a: number): number;
|
|
|
|
//// /** foo2 2*/
|
|
|
|
//// foo2(b: string): number;
|
|
|
|
//// foo3(a: number): number;
|
|
|
|
//// foo3(b: string): number;
|
|
|
|
//// /** foo4 1*/
|
|
|
|
//// foo4(a: number): number;
|
|
|
|
//// foo4(b: string): number;
|
|
|
|
//// /** new 1*/
|
|
|
|
//// new (a: string);
|
|
|
|
//// new (b: number);
|
|
|
|
////}
|
|
|
|
////var i1_i: i1;
|
|
|
|
////interface i2 {
|
|
|
|
//// new (a: string);
|
|
|
|
//// /** new 2*/
|
|
|
|
//// new (b: number);
|
|
|
|
//// (a: number): number;
|
|
|
|
//// /**this is signature 2*/
|
|
|
|
//// (b: string): number;
|
|
|
|
////}
|
|
|
|
////var i2_i: i2;
|
|
|
|
////interface i3 {
|
|
|
|
//// /** new 1*/
|
|
|
|
//// new (a: string);
|
|
|
|
//// /** new 2*/
|
|
|
|
//// new (b: number);
|
|
|
|
//// /**this is signature 1*/
|
|
|
|
//// (a: number): number;
|
|
|
|
//// (b: string): number;
|
|
|
|
////}
|
|
|
|
////var i3_i: i3;
|
|
|
|
////interface i4 {
|
|
|
|
//// new (a: string);
|
|
|
|
//// new (b: number);
|
|
|
|
//// (a: number): number;
|
|
|
|
//// (b: string): number;
|
|
|
|
////}
|
|
|
|
////var i4_i: i4;
|
|
|
|
////new /*18*/i1/*19q*/_i(/*19*/10);
|
|
|
|
////new i/*20q*/1_i(/*20*/"Hello");
|
|
|
|
////i/*21q*/1_i(/*21*/10);
|
|
|
|
////i/*22q*/1_i(/*22*/"hello");
|
|
|
|
////i1_i./*23*/f/*24q*/oo(/*24*/10);
|
|
|
|
////i1_i.f/*25q*/oo(/*25*/"hello");
|
|
|
|
////i1_i.fo/*26q*/o2(/*26*/10);
|
|
|
|
////i1_i.fo/*27q*/o2(/*27*/"hello");
|
|
|
|
////i1_i.fo/*28q*/o3(/*28*/10);
|
|
|
|
////i1_i.fo/*29q*/o3(/*29*/"hello");
|
|
|
|
////i1_i.fo/*30q*/o4(/*30*/10);
|
|
|
|
////i1_i.fo/*31q*/o4(/*31*/"hello");
|
|
|
|
////new i2/*32q*/_i(/*32*/10);
|
|
|
|
////new i2/*33q*/_i(/*33*/"Hello");
|
|
|
|
////i/*34q*/2_i(/*34*/10);
|
|
|
|
////i2/*35q*/_i(/*35*/"hello");
|
|
|
|
////new i/*36q*/3_i(/*36*/10);
|
|
|
|
////new i3/*37q*/_i(/*37*/"Hello");
|
|
|
|
////i3/*38q*/_i(/*38*/10);
|
|
|
|
////i3/*39q*/_i(/*39*/"hello");
|
|
|
|
////new i4/*40q*/_i(/*40*/10);
|
|
|
|
////new i/*41q*/4_i(/*41*/"Hello");
|
|
|
|
////i4/*42q*/_i(/*42*/10);
|
|
|
|
////i4/*43q*/_i(/*43*/"hello");
|
|
|
|
////class c {
|
|
|
|
//// public /*93*/prop1(a: number): number;
|
|
|
|
//// public /*94*/prop1(b: string): number;
|
|
|
|
//// public /*95*/prop1(aorb: any) {
|
|
|
|
//// return 10;
|
|
|
|
//// }
|
|
|
|
//// /** prop2 1*/
|
|
|
|
//// public /*96*/prop2(a: number): number;
|
|
|
|
//// public /*97*/prop2(b: string): number;
|
|
|
|
//// public /*98*/prop2(aorb: any) {
|
|
|
|
//// return 10;
|
|
|
|
//// }
|
|
|
|
//// public /*99*/prop3(a: number): number;
|
|
|
|
//// /** prop3 2*/
|
|
|
|
//// public /*100*/prop3(b: string): number;
|
|
|
|
//// public /*101*/prop3(aorb: any) {
|
|
|
|
//// return 10;
|
|
|
|
//// }
|
|
|
|
//// /** prop4 1*/
|
|
|
|
//// public /*102*/prop4(a: number): number;
|
|
|
|
//// /** prop4 2*/
|
|
|
|
//// public /*103*/prop4(b: string): number;
|
|
|
|
//// public /*104*/prop4(aorb: any) {
|
|
|
|
//// return 10;
|
|
|
|
//// }
|
|
|
|
//// /** prop5 1*/
|
|
|
|
//// public /*105*/prop5(a: number): number;
|
|
|
|
//// /** prop5 2*/
|
|
|
|
//// public /*106*/prop5(b: string): number;
|
|
|
|
//// /** Prop5 implementaion*/
|
|
|
|
//// public /*107*/prop5(aorb: any) {
|
|
|
|
//// return 10;
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////class c1 {
|
|
|
|
//// /*78*/constructor(a: number);
|
|
|
|
//// /*79*/constructor(b: string);
|
|
|
|
//// /*80*/constructor(aorb: any) {
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////class c2 {
|
|
|
|
//// /** c2 1*/
|
|
|
|
//// /*81*/constructor(a: number);
|
|
|
|
//// /*82*/constructor(b: string);
|
|
|
|
//// /*83*/constructor(aorb: any) {
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////class c3 {
|
|
|
|
//// /*84*/constructor(a: number);
|
|
|
|
//// /** c3 2*/
|
|
|
|
//// /*85*/constructor(b: string);
|
|
|
|
//// /*86*/constructor(aorb: any) {
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////class c4 {
|
|
|
|
//// /** c4 1*/
|
|
|
|
//// /*87*/constructor(a: number);
|
|
|
|
//// /** c4 2*/
|
|
|
|
//// /*88*/constructor(b: string);
|
|
|
|
//// /*89*/constructor(aorb: any) {
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////class c5 {
|
|
|
|
//// /** c5 1*/
|
|
|
|
//// /*90*/constructor(a: number);
|
|
|
|
//// /** c5 2*/
|
|
|
|
//// /*91*/constructor(b: string);
|
|
|
|
//// /** c5 implementation*/
|
|
|
|
//// /*92*/constructor(aorb: any) {
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////var c_i = new c();
|
|
|
|
////c_i./*44*/pro/*45q*/p1(/*45*/10);
|
|
|
|
////c_i.pr/*46q*/op1(/*46*/"hello");
|
|
|
|
////c_i.pr/*47q*/op2(/*47*/10);
|
|
|
|
////c_i.pr/*48q*/op2(/*48*/"hello");
|
|
|
|
////c_i.pro/*49q*/p3(/*49*/10);
|
|
|
|
////c_i.pr/*50q*/op3(/*50*/"hello");
|
|
|
|
////c_i.pr/*51q*/op4(/*51*/10);
|
|
|
|
////c_i.pr/*52q*/op4(/*52*/"hello");
|
|
|
|
////c_i.pr/*53q*/op5(/*53*/10);
|
|
|
|
////c_i.pr/*54q*/op5(/*54*/"hello");
|
|
|
|
////var c1/*66*/_i_1 = new c/*55q*/1(/*55*/10);
|
|
|
|
////var c1_i_2 = new c/*56q*/1(/*56*/"hello");
|
|
|
|
////var c2_i_1 = new c/*57q*/2(/*57*/10);
|
|
|
|
////var c/*67*/2_i_2 = new c/*58q*/2(/*58*/"hello");
|
|
|
|
////var c3_i_1 = new c/*59q*/3(/*59*/10);
|
|
|
|
////var c/*68*/3_i_2 = new c/*60q*/3(/*60*/"hello");
|
|
|
|
////var c4/*69*/_i_1 = new c/*61q*/4(/*61*/10);
|
|
|
|
////var c4_i_2 = new c/*62q*/4(/*62*/"hello");
|
|
|
|
////var c/*70*/5_i_1 = new c/*63q*/5(/*63*/10);
|
|
|
|
////var c5_i_2 = new c/*64q*/5(/*64*/"hello");
|
|
|
|
/////** This is multiOverload F1 1*/
|
|
|
|
////function multiOverload(a: number): string;
|
|
|
|
/////** This is multiOverload F1 2*/
|
|
|
|
////function multiOverload(b: string): string;
|
|
|
|
/////** This is multiOverload F1 3*/
|
|
|
|
////function multiOverload(c: boolean): string;
|
|
|
|
/////** This is multiOverload Implementation */
|
|
|
|
////function multiOverload(d): string {
|
|
|
|
//// return "Hello";
|
|
|
|
////}
|
|
|
|
////multiOverl/*71*/oad(10);
|
|
|
|
////multiOverl/*72*/oad("hello");
|
|
|
|
////multiOverl/*73*/oad(true);
|
|
|
|
/////** This is ambient F1 1*/
|
|
|
|
////declare function ambientF1(a: number): string;
|
|
|
|
/////** This is ambient F1 2*/
|
|
|
|
////declare function ambientF1(b: string): string;
|
|
|
|
/////** This is ambient F1 3*/
|
|
|
|
////declare function ambientF1(c: boolean): boolean;
|
|
|
|
/////*65*/
|
|
|
|
////ambient/*74*/F1(10);
|
|
|
|
////ambient/*75*/F1("hello");
|
|
|
|
////ambient/*76*/F1(true);
|
|
|
|
////function foo(a/*77*/a: i3) {
|
|
|
|
////}
|
|
|
|
////foo(null);
|
|
|
|
|
|
|
|
goTo.marker('1');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f1(a: number): number (+1 overload)", "this is signature 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('2');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f1(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('3');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f1(a: number): number (+1 overload)", "this is signature 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('4q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f1(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('o4q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f1(a: number): number (+1 overload)", "this is signature 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('4');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('o4');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("this is signature 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("param a");
|
|
|
|
|
|
|
|
goTo.marker('5');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f2(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('6');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f2(b: string): number (+1 overload)", "this is signature 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('7');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f2(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('8q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f2(b: string): number (+1 overload)", "this is signature 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('o8q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f2(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('8');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("this is signature 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
|
|
|
|
goTo.marker('o8');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("param a");
|
|
|
|
|
|
|
|
goTo.marker('9');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f3(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('10');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f3(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('11');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f3(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('12q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f3(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('o12q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f3(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('12');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
|
|
|
|
goTo.marker('o12');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
|
|
|
|
goTo.marker('13');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f4(a: number): number (+1 overload)", "this is signature 4 - with number parameter");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('14');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f4(b: string): number (+1 overload)", "this is signature 4 - with string parameter");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('15');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f4(a: number): number (+1 overload)", "this is signature 4 - with number parameter");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('16q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f4(b: string): number (+1 overload)", "this is signature 4 - with string parameter");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('o16q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) f4(a: number): number (+1 overload)", "this is signature 4 - with number parameter");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('16');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("this is signature 4 - with string parameter");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
|
|
|
|
goTo.marker('o16');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("this is signature 4 - with number parameter");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("param a");
|
|
|
|
|
|
|
|
goTo.marker('17');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.completionListContains('f1', '(function) f1(a: number): number (+1 overload)', 'this is signature 1');
|
|
|
|
verify.completionListContains('f2', '(function) f2(a: number): number (+1 overload)', '');
|
|
|
|
verify.completionListContains('f3', '(function) f3(a: number): number (+1 overload)', '');
|
|
|
|
verify.completionListContains('f4', '(function) f4(a: number): number (+1 overload)', 'this is signature 4 - with number parameter');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('18');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.completionListContains('i1', 'interface i1', '');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.completionListContains('i1_i', '(var) i1_i: new i1(b: number) => any (+1 overload)', '');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.completionListContains('i2', 'interface i2', '');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.completionListContains('i2_i', '(var) i2_i: new i2(a: string) => any (+1 overload)', '');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.completionListContains('i3', 'interface i3', '');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.completionListContains('i3_i', '(var) i3_i: new i3(a: string) => any (+1 overload)', 'new 1');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.completionListContains('i4', 'interface i4', '');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.completionListContains('i4_i', '(var) i4_i: new i4(a: string) => any (+1 overload)', '');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('19');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('19q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i1_i: new i1(b: number) => any (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('20');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("new 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('20q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i1_i: new i1(a: string) => any (+1 overload)", "new 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('21');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("this signature 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("param a");
|
|
|
|
goTo.marker('21q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i1_i: i1(a: number) => number (+1 overload)", "this signature 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('22');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("this is signature 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('22q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i1_i: i1(b: string) => number (+1 overload)", "this is signature 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('23');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.memberListContains('foo', '(method) i1.foo(a: number): number (+1 overload)', 'foo 1');
|
|
|
|
verify.memberListContains('foo2', '(method) i1.foo2(a: number): number (+1 overload)', '');
|
|
|
|
verify.memberListContains('foo3', '(method) i1.foo3(a: number): number (+1 overload)', '');
|
|
|
|
verify.memberListContains('foo4', '(method) i1.foo4(a: number): number (+1 overload)', 'foo4 1');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('24');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("foo 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('24q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) i1.foo(a: number): number (+1 overload)", "foo 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('25');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("foo 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('25q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) i1.foo(b: string): number (+1 overload)", "foo 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('26');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('26q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) i1.foo2(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('27');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("foo2 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('27q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) i1.foo2(b: string): number (+1 overload)", "foo2 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('28');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('28q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) i1.foo3(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('29');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('29q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) i1.foo3(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('30');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("foo4 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('30q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) i1.foo4(a: number): number (+1 overload)", "foo4 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('31');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('31q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) i1.foo4(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('32');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("new 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('32q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i2_i: new i2(b: number) => any (+1 overload)", "new 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('33');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('33q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i2_i: new i2(a: string) => any (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('34');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('34q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i2_i: i2(a: number) => number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('35');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("this is signature 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('35q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i2_i: i2(b: string) => number (+1 overload)", "this is signature 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('36');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("new 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('36q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i3_i: new i3(b: number) => any (+1 overload)", "new 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('37');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("new 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('37q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i3_i: new i3(a: string) => any (+1 overload)", "new 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('38');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("this is signature 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('38q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i3_i: i3(a: number) => number (+1 overload)", "this is signature 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('39');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('39q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i3_i: i3(b: string) => number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('40');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('40q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i4_i: new i4(b: number) => any (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('41');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('41q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i4_i: new i4(a: string) => any (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('42');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('42q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i4_i: i4(a: number) => number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('43');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('43q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(var) i4_i: i4(b: string) => number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('44');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.memberListContains('prop1', '(method) c.prop1(a: number): number (+1 overload)', '');
|
|
|
|
verify.memberListContains('prop2', '(method) c.prop2(a: number): number (+1 overload)', 'prop2 1');
|
|
|
|
verify.memberListContains('prop3', '(method) c.prop3(a: number): number (+1 overload)', '');
|
|
|
|
verify.memberListContains('prop4', '(method) c.prop4(a: number): number (+1 overload)', 'prop4 1');
|
|
|
|
verify.memberListContains('prop5', '(method) c.prop5(a: number): number (+1 overload)', 'prop5 1');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('45');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('45q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop1(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('46');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('46q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop1(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('47');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("prop2 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('47q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop2(a: number): number (+1 overload)", "prop2 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('48');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('48q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop2(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('49');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('49q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop3(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('50');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("prop3 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('50q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop3(b: string): number (+1 overload)", "prop3 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('51');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("prop4 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('51q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop4(a: number): number (+1 overload)", "prop4 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('52');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("prop4 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('52q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop4(b: string): number (+1 overload)", "prop4 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('53');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("prop5 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('53q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop5(a: number): number (+1 overload)", "prop5 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('54');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("prop5 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('54q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop5(b: string): number (+1 overload)", "prop5 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('55');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('55q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c1(a: number): c1 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('56');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('56q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c1(b: string): c1 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('57');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("c2 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('57q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c2(a: number): c2 (+1 overload)", "c2 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('58');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('58q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c2(b: string): c2 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('59');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('59q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c3(a: number): c3 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('60');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("c3 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('60q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c3(b: string): c3 (+1 overload)", "c3 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('61');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("c4 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('61q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c4(a: number): c4 (+1 overload)", "c4 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('62');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("c4 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('62q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c4(b: string): c4 (+1 overload)", "c4 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('63');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("c5 1");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('63q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c5(a: number): c5 (+1 overload)", "c5 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('64');
|
|
|
|
verify.currentSignatureHelpDocCommentIs("c5 2");
|
|
|
|
verify.currentParameterHelpArgumentDocCommentIs("");
|
|
|
|
goTo.marker('64q');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c5(b: string): c5 (+1 overload)", "c5 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('65');
|
2014-10-23 22:42:56 +02:00
|
|
|
verify.completionListContains("c", "class c", "");
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.completionListContains("c1", "class c1", "");
|
|
|
|
verify.completionListContains("c2", "class c2", "");
|
|
|
|
verify.completionListContains("c3", "class c3", "");
|
|
|
|
verify.completionListContains("c4", "class c4", "");
|
|
|
|
verify.completionListContains("c5", "class c5", "");
|
|
|
|
verify.completionListContains("c_i", "(var) c_i: c", "");
|
|
|
|
verify.completionListContains("c1_i_1", "(var) c1_i_1: c1", "");
|
|
|
|
verify.completionListContains("c2_i_1", "(var) c2_i_1: c2", "");
|
|
|
|
verify.completionListContains("c3_i_1", "(var) c3_i_1: c3", "");
|
|
|
|
verify.completionListContains("c4_i_1", "(var) c4_i_1: c4", "");
|
|
|
|
verify.completionListContains("c5_i_1", "(var) c5_i_1: c5", "");
|
|
|
|
verify.completionListContains("c1_i_2", "(var) c1_i_2: c1", "");
|
|
|
|
verify.completionListContains("c2_i_2", "(var) c2_i_2: c2", "");
|
|
|
|
verify.completionListContains("c3_i_2", "(var) c3_i_2: c3", "");
|
|
|
|
verify.completionListContains("c4_i_2", "(var) c4_i_2: c4", "");
|
|
|
|
verify.completionListContains("c5_i_2", "(var) c5_i_2: c5", "");
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.completionListContains('multiOverload', '(function) multiOverload(a: number): string (+2 overloads)', 'This is multiOverload F1 1');
|
|
|
|
verify.completionListContains('ambientF1', '(function) ambientF1(a: number): string (+2 overloads)', 'This is ambient F1 1');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('66');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.quickInfoIs("(var) c1_i_1: c1", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('67');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.quickInfoIs("(var) c2_i_2: c2", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('68');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.quickInfoIs("(var) c3_i_2: c3", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('69');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.quickInfoIs("(var) c4_i_1: c4", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('70');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.quickInfoIs("(var) c5_i_1: c5", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('71');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) multiOverload(a: number): string (+2 overloads)", "This is multiOverload F1 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('72');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) multiOverload(b: string): string (+2 overloads)", "This is multiOverload F1 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('73');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) multiOverload(c: boolean): string (+2 overloads)", "This is multiOverload F1 3");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('74');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) ambientF1(a: number): string (+2 overloads)", "This is ambient F1 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('75');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) ambientF1(b: string): string (+2 overloads)", "This is ambient F1 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker('76');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(function) ambientF1(c: boolean): boolean (+2 overloads)", "This is ambient F1 3");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('77');
|
2014-09-29 18:51:10 +02:00
|
|
|
verify.quickInfoIs("(parameter) aa: i3", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('78');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c1(a: number): c1 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('79');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c1(b: string): c1 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('80');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c1(a: number): c1 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('81');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c2(a: number): c2 (+1 overload)", "c2 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('82');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c2(b: string): c2 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('83');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c2(a: number): c2 (+1 overload)", "c2 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('84');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c3(a: number): c3 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('85');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c3(b: string): c3 (+1 overload)", "c3 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('86');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c3(a: number): c3 (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('87');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c4(a: number): c4 (+1 overload)", "c4 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('88');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c4(b: string): c4 (+1 overload)", "c4 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('89');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c4(a: number): c4 (+1 overload)", "c4 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('90');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c5(a: number): c5 (+1 overload)", "c5 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('91');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c5(b: string): c5 (+1 overload)", "c5 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('92');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(constructor) c5(a: number): c5 (+1 overload)", "c5 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('93');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop1(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('94');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop1(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('95');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop1(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('96');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop2(a: number): number (+1 overload)", "prop2 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('97');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop2(b: string): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('98');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop2(a: number): number (+1 overload)", "prop2 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('99');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop3(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('100');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop3(b: string): number (+1 overload)", "prop3 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('101');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop3(a: number): number (+1 overload)", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('102');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop4(a: number): number (+1 overload)", "prop4 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('103');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop4(b: string): number (+1 overload)", "prop4 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('104');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop4(a: number): number (+1 overload)", "prop4 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('105');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop5(a: number): number (+1 overload)", "prop5 1");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('106');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop5(b: string): number (+1 overload)", "prop5 2");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('107');
|
2014-10-08 02:06:34 +02:00
|
|
|
verify.quickInfoIs("(method) c.prop5(a: number): number (+1 overload)", "prop5 1");
|