2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////var a/*1*/1 = new Array();
|
|
|
|
////var a/*2*/2 = new Array(1);
|
|
|
|
////var a/*3*/3 = new Array<boolean>();
|
|
|
|
////var a/*4*/4 = new Array<boolean>(1);
|
|
|
|
////var a/*5*/5 = new Array("s");
|
|
|
|
////var a/*6*/6 = Array();
|
|
|
|
////var a/*7*/7 = Array(1);
|
|
|
|
////var a/*8*/8 = Array<boolean>();
|
|
|
|
////var a/*9*/9 = Array<boolean>(1);
|
|
|
|
////var a/*10*/10 = Array("s");
|
|
|
|
|
|
|
|
|
|
|
|
goTo.marker('1');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a1: any[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('2');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a2: any[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('3');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a3: boolean[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('4');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a4: boolean[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('5');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a5: string[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('6');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a6: any[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('7');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a7: any[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('8');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a8: boolean[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('9');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a9: boolean[]');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
goTo.marker('10');
|
2014-09-29 18:45:39 +02:00
|
|
|
verify.quickInfoIs('(var) a10: string[]');
|