1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
|
//// [es5-asyncFunctionNewExpressions.ts]
declare var x, y, z, a, b, c;
async function newExpression0() {
await new x(y, z);
}
async function newExpression1() {
new (await x)(y, z);
}
async function newExpression2() {
new x(await y, z);
}
async function newExpression3() {
new x(y, await z);
}
async function newExpression4() {
await new x(...y, z);
}
async function newExpression5() {
new (await x)(...y, z);
}
async function newExpression6() {
new x(...(await y), z);
}
async function newExpression7() {
new x(...y, await z);
}
async function newExpression8() {
new x(await y, ...z);
}
async function newExpression9() {
new x(y, ...(await z));
}
async function newExpression10() {
await new x.a(y, z);
}
async function newExpression11() {
new (await x.a)(y, z);
}
async function newExpression12() {
new (await x).a(y, z);
}
async function newExpression13() {
new x.a(await y, z);
}
async function newExpression14() {
new x.a(y, await z);
}
async function newExpression15() {
await new x[a](y, z);
}
async function newExpression16() {
new (await x[a])(y, z);
}
async function newExpression17() {
new (await x)[a](y, z);
}
async function newExpression18() {
new x[await a](y, z);
}
async function newExpression19() {
new x[a](await y, z);
}
async function newExpression20() {
new x[a](y, await z);
}
//// [es5-asyncFunctionNewExpressions.js]
function newExpression0() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, new x(y, z)];
case 1:
_a.sent();
return [2 /*return*/];
}
});
});
}
function newExpression1() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, x];
case 1:
new (_a.sent())(y, z);
return [2 /*return*/];
}
});
});
}
function newExpression2() {
return __awaiter(this, void 0, void 0, function () {
var _a;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
_a = x.bind;
return [4 /*yield*/, y];
case 1:
new (_a.apply(x, [void 0, _b.sent(), z]))();
return [2 /*return*/];
}
});
});
}
function newExpression3() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
_a = x.bind;
_b = [void 0, y];
return [4 /*yield*/, z];
case 1:
new (_a.apply(x, _b.concat([_c.sent()])))();
return [2 /*return*/];
}
});
});
}
function newExpression4() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, new (x.bind.apply(x, [void 0].concat(y, [z])))()];
case 1:
_a.sent();
return [2 /*return*/];
}
});
});
}
function newExpression5() {
return __awaiter(this, void 0, void 0, function () {
var _a;
return __generator(this, function (_b) {
switch (_b.label) {
case 0: return [4 /*yield*/, x];
case 1:
new ((_a = (_b.sent())).bind.apply(_a, [void 0].concat(y, [z])))();
return [2 /*return*/];
}
});
});
}
function newExpression6() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b, _c, _d, _e;
return __generator(this, function (_f) {
switch (_f.label) {
case 0:
_b = (_a = x.bind).apply;
_c = [x];
_e = (_d = [void 0]).concat;
return [4 /*yield*/, y];
case 1:
new (_b.apply(_a, _c.concat([_e.apply(_d, [(_f.sent()), [z]])])))();
return [2 /*return*/];
}
});
});
}
function newExpression7() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b, _c, _d, _e, _f;
return __generator(this, function (_g) {
switch (_g.label) {
case 0:
_b = (_a = x.bind).apply;
_c = [x];
_e = (_d = [void 0]).concat;
_f = [y];
return [4 /*yield*/, z];
case 1:
new (_b.apply(_a, _c.concat([_e.apply(_d, _f.concat([[_g.sent()]]))])))();
return [2 /*return*/];
}
});
});
}
function newExpression8() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b, _c, _d;
return __generator(this, function (_e) {
switch (_e.label) {
case 0:
_b = (_a = x.bind).apply;
_c = [x];
_d = [void 0];
return [4 /*yield*/, y];
case 1:
new (_b.apply(_a, _c.concat([_d.concat([_e.sent()]).concat(z)])))();
return [2 /*return*/];
}
});
});
}
function newExpression9() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b, _c, _d, _e;
return __generator(this, function (_f) {
switch (_f.label) {
case 0:
_b = (_a = x.bind).apply;
_c = [x];
_e = (_d = [void 0, y]).concat;
return [4 /*yield*/, z];
case 1:
new (_b.apply(_a, _c.concat([_e.apply(_d, [(_f.sent())])])))();
return [2 /*return*/];
}
});
});
}
function newExpression10() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, new x.a(y, z)];
case 1:
_a.sent();
return [2 /*return*/];
}
});
});
}
function newExpression11() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, x.a];
case 1:
new (_a.sent())(y, z);
return [2 /*return*/];
}
});
});
}
function newExpression12() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, x];
case 1:
new (_a.sent()).a(y, z);
return [2 /*return*/];
}
});
});
}
function newExpression13() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
_b = (_a = x.a).bind;
return [4 /*yield*/, y];
case 1:
new (_b.apply(_a, [void 0, _c.sent(), z]))();
return [2 /*return*/];
}
});
});
}
function newExpression14() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b, _c;
return __generator(this, function (_d) {
switch (_d.label) {
case 0:
_b = (_a = x.a).bind;
_c = [void 0, y];
return [4 /*yield*/, z];
case 1:
new (_b.apply(_a, _c.concat([_d.sent()])))();
return [2 /*return*/];
}
});
});
}
function newExpression15() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, new x[a](y, z)];
case 1:
_a.sent();
return [2 /*return*/];
}
});
});
}
function newExpression16() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, x[a]];
case 1:
new (_a.sent())(y, z);
return [2 /*return*/];
}
});
});
}
function newExpression17() {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, x];
case 1:
new (_a.sent())[a](y, z);
return [2 /*return*/];
}
});
});
}
function newExpression18() {
return __awaiter(this, void 0, void 0, function () {
var _a;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
_a = x;
return [4 /*yield*/, a];
case 1:
new _a[_b.sent()](y, z);
return [2 /*return*/];
}
});
});
}
function newExpression19() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
_b = (_a = x[a]).bind;
return [4 /*yield*/, y];
case 1:
new (_b.apply(_a, [void 0, _c.sent(), z]))();
return [2 /*return*/];
}
});
});
}
function newExpression20() {
return __awaiter(this, void 0, void 0, function () {
var _a, _b, _c;
return __generator(this, function (_d) {
switch (_d.label) {
case 0:
_b = (_a = x[a]).bind;
_c = [void 0, y];
return [4 /*yield*/, z];
case 1:
new (_b.apply(_a, _c.concat([_d.sent()])))();
return [2 /*return*/];
}
});
});
}
|