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 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
|
=== tests/cases/compiler/promisePermutations3.ts ===
// same as promisePermutations but without the same overloads in IPromise<T>
interface Promise<T> {
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>T : Symbol(T, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 18))
then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progress: any) => void): Promise<U>;
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>U : Symbol(U, Decl(promisePermutations3.ts, 3, 9))
>success : Symbol(success, Decl(promisePermutations3.ts, 3, 12))
>value : Symbol(value, Decl(promisePermutations3.ts, 3, 23))
>T : Symbol(T, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 18))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>U : Symbol(U, Decl(promisePermutations3.ts, 3, 9))
>error : Symbol(error, Decl(promisePermutations3.ts, 3, 47))
>error : Symbol(error, Decl(promisePermutations3.ts, 3, 57))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>U : Symbol(U, Decl(promisePermutations3.ts, 3, 9))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 3, 83))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 3, 96))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>U : Symbol(U, Decl(promisePermutations3.ts, 3, 9))
then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => U, progress?: (progress: any) => void): Promise<U>;
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>U : Symbol(U, Decl(promisePermutations3.ts, 4, 9))
>success : Symbol(success, Decl(promisePermutations3.ts, 4, 12))
>value : Symbol(value, Decl(promisePermutations3.ts, 4, 23))
>T : Symbol(T, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 18))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>U : Symbol(U, Decl(promisePermutations3.ts, 4, 9))
>error : Symbol(error, Decl(promisePermutations3.ts, 4, 47))
>error : Symbol(error, Decl(promisePermutations3.ts, 4, 57))
>U : Symbol(U, Decl(promisePermutations3.ts, 4, 9))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 4, 74))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 4, 87))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>U : Symbol(U, Decl(promisePermutations3.ts, 4, 9))
then<U>(success?: (value: T) => U, error?: (error: any) => Promise<U>, progress?: (progress: any) => void): Promise<U>;
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>U : Symbol(U, Decl(promisePermutations3.ts, 5, 9))
>success : Symbol(success, Decl(promisePermutations3.ts, 5, 12))
>value : Symbol(value, Decl(promisePermutations3.ts, 5, 23))
>T : Symbol(T, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 18))
>U : Symbol(U, Decl(promisePermutations3.ts, 5, 9))
>error : Symbol(error, Decl(promisePermutations3.ts, 5, 38))
>error : Symbol(error, Decl(promisePermutations3.ts, 5, 48))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>U : Symbol(U, Decl(promisePermutations3.ts, 5, 9))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 5, 74))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 5, 87))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>U : Symbol(U, Decl(promisePermutations3.ts, 5, 9))
then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Promise<U>;
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>U : Symbol(U, Decl(promisePermutations3.ts, 6, 9))
>success : Symbol(success, Decl(promisePermutations3.ts, 6, 12))
>value : Symbol(value, Decl(promisePermutations3.ts, 6, 23))
>T : Symbol(T, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 18))
>U : Symbol(U, Decl(promisePermutations3.ts, 6, 9))
>error : Symbol(error, Decl(promisePermutations3.ts, 6, 38))
>error : Symbol(error, Decl(promisePermutations3.ts, 6, 48))
>U : Symbol(U, Decl(promisePermutations3.ts, 6, 9))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 6, 65))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 6, 78))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>U : Symbol(U, Decl(promisePermutations3.ts, 6, 9))
done<U>(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void;
>done : Symbol(Promise.done, Decl(promisePermutations3.ts, 6, 114))
>U : Symbol(U, Decl(promisePermutations3.ts, 7, 9))
>success : Symbol(success, Decl(promisePermutations3.ts, 7, 12))
>value : Symbol(value, Decl(promisePermutations3.ts, 7, 23))
>T : Symbol(T, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 18))
>error : Symbol(error, Decl(promisePermutations3.ts, 7, 40))
>error : Symbol(error, Decl(promisePermutations3.ts, 7, 50))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 7, 69))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 7, 82))
}
interface IPromise<T> {
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>T : Symbol(T, Decl(promisePermutations3.ts, 10, 19))
then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): IPromise<U>;
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>U : Symbol(U, Decl(promisePermutations3.ts, 11, 9))
>success : Symbol(success, Decl(promisePermutations3.ts, 11, 12))
>value : Symbol(value, Decl(promisePermutations3.ts, 11, 23))
>T : Symbol(T, Decl(promisePermutations3.ts, 10, 19))
>U : Symbol(U, Decl(promisePermutations3.ts, 11, 9))
>error : Symbol(error, Decl(promisePermutations3.ts, 11, 38))
>error : Symbol(error, Decl(promisePermutations3.ts, 11, 48))
>U : Symbol(U, Decl(promisePermutations3.ts, 11, 9))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 11, 65))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 11, 78))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>U : Symbol(U, Decl(promisePermutations3.ts, 11, 9))
done? <U>(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void;
>done : Symbol(IPromise.done, Decl(promisePermutations3.ts, 11, 115))
>U : Symbol(U, Decl(promisePermutations3.ts, 12, 11))
>success : Symbol(success, Decl(promisePermutations3.ts, 12, 14))
>value : Symbol(value, Decl(promisePermutations3.ts, 12, 25))
>T : Symbol(T, Decl(promisePermutations3.ts, 10, 19))
>error : Symbol(error, Decl(promisePermutations3.ts, 12, 42))
>error : Symbol(error, Decl(promisePermutations3.ts, 12, 52))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 12, 71))
>progress : Symbol(progress, Decl(promisePermutations3.ts, 12, 84))
}
declare function testFunction(): IPromise<number>;
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
declare function testFunctionP(): Promise<number>;
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
declare function testFunction2(): IPromise<{ x: number }>;
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>x : Symbol(x, Decl(promisePermutations3.ts, 17, 44))
declare function testFunction2P(): Promise<{ x: number }>;
>testFunction2P : Symbol(testFunction2P, Decl(promisePermutations3.ts, 17, 58))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>x : Symbol(x, Decl(promisePermutations3.ts, 18, 44))
declare function testFunction3(x: number): IPromise<number>;
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>x : Symbol(x, Decl(promisePermutations3.ts, 19, 31))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
declare function testFunction3P(x: number): Promise<number>;
>testFunction3P : Symbol(testFunction3P, Decl(promisePermutations3.ts, 19, 60))
>x : Symbol(x, Decl(promisePermutations3.ts, 20, 32))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
declare function testFunction4(x: number, y?: string): IPromise<string>;
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>x : Symbol(x, Decl(promisePermutations3.ts, 21, 31))
>y : Symbol(y, Decl(promisePermutations3.ts, 21, 41))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
declare function testFunction4P(x: number, y?: string): Promise<string>;
>testFunction4P : Symbol(testFunction4P, Decl(promisePermutations3.ts, 21, 72))
>x : Symbol(x, Decl(promisePermutations3.ts, 22, 32))
>y : Symbol(y, Decl(promisePermutations3.ts, 22, 42))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
declare function testFunction5(x: number, cb: (a: string) => string): IPromise<string>;
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
>x : Symbol(x, Decl(promisePermutations3.ts, 23, 31))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 23, 41))
>a : Symbol(a, Decl(promisePermutations3.ts, 23, 47))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
declare function testFunction5P(x: number, cb: (a: string) => string): Promise<string>;
>testFunction5P : Symbol(testFunction5P, Decl(promisePermutations3.ts, 23, 87))
>x : Symbol(x, Decl(promisePermutations3.ts, 24, 32))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 24, 42))
>a : Symbol(a, Decl(promisePermutations3.ts, 24, 48))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
declare function testFunction6(x: number, cb: <T>(a: T) => T): IPromise<string>;
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
>x : Symbol(x, Decl(promisePermutations3.ts, 25, 31))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 25, 41))
>T : Symbol(T, Decl(promisePermutations3.ts, 25, 47))
>a : Symbol(a, Decl(promisePermutations3.ts, 25, 50))
>T : Symbol(T, Decl(promisePermutations3.ts, 25, 47))
>T : Symbol(T, Decl(promisePermutations3.ts, 25, 47))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
declare function testFunction6P(x: number, cb: <T>(a: T) => T): Promise<string>;
>testFunction6P : Symbol(testFunction6P, Decl(promisePermutations3.ts, 25, 80))
>x : Symbol(x, Decl(promisePermutations3.ts, 26, 32))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 26, 42))
>T : Symbol(T, Decl(promisePermutations3.ts, 26, 48))
>a : Symbol(a, Decl(promisePermutations3.ts, 26, 51))
>T : Symbol(T, Decl(promisePermutations3.ts, 26, 48))
>T : Symbol(T, Decl(promisePermutations3.ts, 26, 48))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
declare function testFunction7(cb: <T>(a: T) => T): IPromise<string>;
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 27, 31))
>T : Symbol(T, Decl(promisePermutations3.ts, 27, 36))
>a : Symbol(a, Decl(promisePermutations3.ts, 27, 39))
>T : Symbol(T, Decl(promisePermutations3.ts, 27, 36))
>T : Symbol(T, Decl(promisePermutations3.ts, 27, 36))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
declare function testFunction7P(cb: <T>(a: T) => T): Promise<string>;
>testFunction7P : Symbol(testFunction7P, Decl(promisePermutations3.ts, 27, 69))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 28, 32))
>T : Symbol(T, Decl(promisePermutations3.ts, 28, 37))
>a : Symbol(a, Decl(promisePermutations3.ts, 28, 40))
>T : Symbol(T, Decl(promisePermutations3.ts, 28, 37))
>T : Symbol(T, Decl(promisePermutations3.ts, 28, 37))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
declare function testFunction8<T>(x: T, cb: (a: T) => T): IPromise<T>;
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
>T : Symbol(T, Decl(promisePermutations3.ts, 29, 31))
>x : Symbol(x, Decl(promisePermutations3.ts, 29, 34))
>T : Symbol(T, Decl(promisePermutations3.ts, 29, 31))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 29, 39))
>a : Symbol(a, Decl(promisePermutations3.ts, 29, 45))
>T : Symbol(T, Decl(promisePermutations3.ts, 29, 31))
>T : Symbol(T, Decl(promisePermutations3.ts, 29, 31))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>T : Symbol(T, Decl(promisePermutations3.ts, 29, 31))
declare function testFunction8P<T>(x: T, cb: (a: T) => T): Promise<T>;
>testFunction8P : Symbol(testFunction8P, Decl(promisePermutations3.ts, 29, 70))
>T : Symbol(T, Decl(promisePermutations3.ts, 30, 32))
>x : Symbol(x, Decl(promisePermutations3.ts, 30, 35))
>T : Symbol(T, Decl(promisePermutations3.ts, 30, 32))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 30, 40))
>a : Symbol(a, Decl(promisePermutations3.ts, 30, 46))
>T : Symbol(T, Decl(promisePermutations3.ts, 30, 32))
>T : Symbol(T, Decl(promisePermutations3.ts, 30, 32))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>T : Symbol(T, Decl(promisePermutations3.ts, 30, 32))
declare function testFunction9<T>(x: T, cb: <U>(a: U) => U): IPromise<T>;
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
>T : Symbol(T, Decl(promisePermutations3.ts, 31, 31))
>x : Symbol(x, Decl(promisePermutations3.ts, 31, 34))
>T : Symbol(T, Decl(promisePermutations3.ts, 31, 31))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 31, 39))
>U : Symbol(U, Decl(promisePermutations3.ts, 31, 45))
>a : Symbol(a, Decl(promisePermutations3.ts, 31, 48))
>U : Symbol(U, Decl(promisePermutations3.ts, 31, 45))
>U : Symbol(U, Decl(promisePermutations3.ts, 31, 45))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>T : Symbol(T, Decl(promisePermutations3.ts, 31, 31))
declare function testFunction9P<T>(x: T, cb: <U>(a: U) => U): Promise<T>;
>testFunction9P : Symbol(testFunction9P, Decl(promisePermutations3.ts, 31, 73))
>T : Symbol(T, Decl(promisePermutations3.ts, 32, 32))
>x : Symbol(x, Decl(promisePermutations3.ts, 32, 35))
>T : Symbol(T, Decl(promisePermutations3.ts, 32, 32))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 32, 40))
>U : Symbol(U, Decl(promisePermutations3.ts, 32, 46))
>a : Symbol(a, Decl(promisePermutations3.ts, 32, 49))
>U : Symbol(U, Decl(promisePermutations3.ts, 32, 46))
>U : Symbol(U, Decl(promisePermutations3.ts, 32, 46))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>T : Symbol(T, Decl(promisePermutations3.ts, 32, 32))
declare function testFunction10<T>(cb: <U>(a: U) => U): IPromise<T>;
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
>T : Symbol(T, Decl(promisePermutations3.ts, 33, 32))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 33, 35))
>U : Symbol(U, Decl(promisePermutations3.ts, 33, 40))
>a : Symbol(a, Decl(promisePermutations3.ts, 33, 43))
>U : Symbol(U, Decl(promisePermutations3.ts, 33, 40))
>U : Symbol(U, Decl(promisePermutations3.ts, 33, 40))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>T : Symbol(T, Decl(promisePermutations3.ts, 33, 32))
declare function testFunction10P<T>(cb: <U>(a: U) => U): Promise<T>;
>testFunction10P : Symbol(testFunction10P, Decl(promisePermutations3.ts, 33, 68))
>T : Symbol(T, Decl(promisePermutations3.ts, 34, 33))
>cb : Symbol(cb, Decl(promisePermutations3.ts, 34, 36))
>U : Symbol(U, Decl(promisePermutations3.ts, 34, 41))
>a : Symbol(a, Decl(promisePermutations3.ts, 34, 44))
>U : Symbol(U, Decl(promisePermutations3.ts, 34, 41))
>U : Symbol(U, Decl(promisePermutations3.ts, 34, 41))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>T : Symbol(T, Decl(promisePermutations3.ts, 34, 33))
declare function testFunction11(x: number): IPromise<number>;
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
>x : Symbol(x, Decl(promisePermutations3.ts, 36, 32))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
declare function testFunction11(x: string): IPromise<string>;
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
>x : Symbol(x, Decl(promisePermutations3.ts, 37, 32))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
declare function testFunction11P(x: number): Promise<number>;
>testFunction11P : Symbol(testFunction11P, Decl(promisePermutations3.ts, 37, 61), Decl(promisePermutations3.ts, 38, 61))
>x : Symbol(x, Decl(promisePermutations3.ts, 38, 33))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
declare function testFunction11P(x: string): Promise<string>;
>testFunction11P : Symbol(testFunction11P, Decl(promisePermutations3.ts, 37, 61), Decl(promisePermutations3.ts, 38, 61))
>x : Symbol(x, Decl(promisePermutations3.ts, 39, 33))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
declare function testFunction12<T>(x: T): IPromise<T>;
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>T : Symbol(T, Decl(promisePermutations3.ts, 41, 32))
>x : Symbol(x, Decl(promisePermutations3.ts, 41, 35))
>T : Symbol(T, Decl(promisePermutations3.ts, 41, 32))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>T : Symbol(T, Decl(promisePermutations3.ts, 41, 32))
declare function testFunction12<T>(x: T, y: T): IPromise<T>;
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>T : Symbol(T, Decl(promisePermutations3.ts, 42, 32))
>x : Symbol(x, Decl(promisePermutations3.ts, 42, 35))
>T : Symbol(T, Decl(promisePermutations3.ts, 42, 32))
>y : Symbol(y, Decl(promisePermutations3.ts, 42, 40))
>T : Symbol(T, Decl(promisePermutations3.ts, 42, 32))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>T : Symbol(T, Decl(promisePermutations3.ts, 42, 32))
declare function testFunction12P<T>(x: T): IPromise<T>;
>testFunction12P : Symbol(testFunction12P, Decl(promisePermutations3.ts, 42, 60), Decl(promisePermutations3.ts, 43, 55))
>T : Symbol(T, Decl(promisePermutations3.ts, 43, 33))
>x : Symbol(x, Decl(promisePermutations3.ts, 43, 36))
>T : Symbol(T, Decl(promisePermutations3.ts, 43, 33))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>T : Symbol(T, Decl(promisePermutations3.ts, 43, 33))
declare function testFunction12P<T>(x: T, y: T): Promise<T>;
>testFunction12P : Symbol(testFunction12P, Decl(promisePermutations3.ts, 42, 60), Decl(promisePermutations3.ts, 43, 55))
>T : Symbol(T, Decl(promisePermutations3.ts, 44, 33))
>x : Symbol(x, Decl(promisePermutations3.ts, 44, 36))
>T : Symbol(T, Decl(promisePermutations3.ts, 44, 33))
>y : Symbol(y, Decl(promisePermutations3.ts, 44, 41))
>T : Symbol(T, Decl(promisePermutations3.ts, 44, 33))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>T : Symbol(T, Decl(promisePermutations3.ts, 44, 33))
var r1: IPromise<number>;
>r1 : Symbol(r1, Decl(promisePermutations3.ts, 46, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var r1a = r1.then(testFunction, testFunction, testFunction);
>r1a : Symbol(r1a, Decl(promisePermutations3.ts, 47, 3))
>r1.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r1 : Symbol(r1, Decl(promisePermutations3.ts, 46, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction);
>r1b : Symbol(r1b, Decl(promisePermutations3.ts, 48, 3))
>r1.then(testFunction, testFunction, testFunction).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r1.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r1 : Symbol(r1, Decl(promisePermutations3.ts, 46, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
var r1c = r1.then(testFunctionP, testFunctionP, testFunctionP);
>r1c : Symbol(r1c, Decl(promisePermutations3.ts, 49, 3))
>r1.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r1 : Symbol(r1, Decl(promisePermutations3.ts, 46, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
var s1: Promise<number>;
>s1 : Symbol(s1, Decl(promisePermutations3.ts, 50, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s1a = s1.then(testFunction, testFunction, testFunction);
>s1a : Symbol(s1a, Decl(promisePermutations3.ts, 51, 3))
>s1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s1 : Symbol(s1, Decl(promisePermutations3.ts, 50, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
var s1b = s1.then(testFunctionP, testFunctionP, testFunctionP);
>s1b : Symbol(s1b, Decl(promisePermutations3.ts, 52, 3))
>s1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s1 : Symbol(s1, Decl(promisePermutations3.ts, 50, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
var s1c = s1.then(testFunctionP, testFunction, testFunction);
>s1c : Symbol(s1c, Decl(promisePermutations3.ts, 53, 3))
>s1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s1 : Symbol(s1, Decl(promisePermutations3.ts, 50, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
var s1d = s1.then(testFunctionP, testFunction, testFunction).then(testFunction, testFunction, testFunction);
>s1d : Symbol(s1d, Decl(promisePermutations3.ts, 54, 3))
>s1.then(testFunctionP, testFunction, testFunction).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s1.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s1 : Symbol(s1, Decl(promisePermutations3.ts, 50, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
var r2: IPromise<{ x: number; }>;
>r2 : Symbol(r2, Decl(promisePermutations3.ts, 56, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
>x : Symbol(x, Decl(promisePermutations3.ts, 56, 18))
var r2a = r2.then(testFunction2, testFunction2, testFunction2);
>r2a : Symbol(r2a, Decl(promisePermutations3.ts, 57, 3))
>r2.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r2 : Symbol(r2, Decl(promisePermutations3.ts, 56, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
var r2b = r2.then(testFunction2, testFunction2, testFunction2).then(testFunction2, testFunction2, testFunction2);
>r2b : Symbol(r2b, Decl(promisePermutations3.ts, 58, 3))
>r2.then(testFunction2, testFunction2, testFunction2).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r2.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r2 : Symbol(r2, Decl(promisePermutations3.ts, 56, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
var s2: Promise<{ x: number; }>;
>s2 : Symbol(s2, Decl(promisePermutations3.ts, 59, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
>x : Symbol(x, Decl(promisePermutations3.ts, 59, 17))
var s2a = s2.then(testFunction2, testFunction2, testFunction2);
>s2a : Symbol(s2a, Decl(promisePermutations3.ts, 60, 3))
>s2.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s2 : Symbol(s2, Decl(promisePermutations3.ts, 59, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
var s2b = s2.then(testFunction2P, testFunction2P, testFunction2P);
>s2b : Symbol(s2b, Decl(promisePermutations3.ts, 61, 3))
>s2.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s2 : Symbol(s2, Decl(promisePermutations3.ts, 59, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction2P : Symbol(testFunction2P, Decl(promisePermutations3.ts, 17, 58))
>testFunction2P : Symbol(testFunction2P, Decl(promisePermutations3.ts, 17, 58))
>testFunction2P : Symbol(testFunction2P, Decl(promisePermutations3.ts, 17, 58))
var s2c = s2.then(testFunction2P, testFunction2, testFunction2);
>s2c : Symbol(s2c, Decl(promisePermutations3.ts, 62, 3))
>s2.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s2 : Symbol(s2, Decl(promisePermutations3.ts, 59, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction2P : Symbol(testFunction2P, Decl(promisePermutations3.ts, 17, 58))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
var s2d = s2.then(testFunction2P, testFunction2, testFunction2).then(testFunction2, testFunction2, testFunction2);
>s2d : Symbol(s2d, Decl(promisePermutations3.ts, 63, 3))
>s2.then(testFunction2P, testFunction2, testFunction2).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s2.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s2 : Symbol(s2, Decl(promisePermutations3.ts, 59, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction2P : Symbol(testFunction2P, Decl(promisePermutations3.ts, 17, 58))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
>testFunction2 : Symbol(testFunction2, Decl(promisePermutations3.ts, 16, 50))
var r3: IPromise<number>;
>r3 : Symbol(r3, Decl(promisePermutations3.ts, 65, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var r3a = r3.then(testFunction3, testFunction3, testFunction3);
>r3a : Symbol(r3a, Decl(promisePermutations3.ts, 66, 3))
>r3.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r3 : Symbol(r3, Decl(promisePermutations3.ts, 65, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
var r3b = r3.then(testFunction3, testFunction3, testFunction3).then(testFunction3, testFunction3, testFunction3);
>r3b : Symbol(r3b, Decl(promisePermutations3.ts, 67, 3))
>r3.then(testFunction3, testFunction3, testFunction3).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r3.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r3 : Symbol(r3, Decl(promisePermutations3.ts, 65, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
var s3: Promise<number>;
>s3 : Symbol(s3, Decl(promisePermutations3.ts, 68, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s3a = s3.then(testFunction3, testFunction3, testFunction3);
>s3a : Symbol(s3a, Decl(promisePermutations3.ts, 69, 3))
>s3.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s3 : Symbol(s3, Decl(promisePermutations3.ts, 68, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
var s3b = s3.then(testFunction3P, testFunction3P, testFunction3P);
>s3b : Symbol(s3b, Decl(promisePermutations3.ts, 70, 3))
>s3.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s3 : Symbol(s3, Decl(promisePermutations3.ts, 68, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction3P : Symbol(testFunction3P, Decl(promisePermutations3.ts, 19, 60))
>testFunction3P : Symbol(testFunction3P, Decl(promisePermutations3.ts, 19, 60))
>testFunction3P : Symbol(testFunction3P, Decl(promisePermutations3.ts, 19, 60))
var s3c = s3.then(testFunction3P, testFunction3, testFunction3);
>s3c : Symbol(s3c, Decl(promisePermutations3.ts, 71, 3))
>s3.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s3 : Symbol(s3, Decl(promisePermutations3.ts, 68, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction3P : Symbol(testFunction3P, Decl(promisePermutations3.ts, 19, 60))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
var s3d = s3.then(testFunction3P, testFunction3, testFunction3).then(testFunction3, testFunction3, testFunction3);
>s3d : Symbol(s3d, Decl(promisePermutations3.ts, 72, 3))
>s3.then(testFunction3P, testFunction3, testFunction3).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s3.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s3 : Symbol(s3, Decl(promisePermutations3.ts, 68, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction3P : Symbol(testFunction3P, Decl(promisePermutations3.ts, 19, 60))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
>testFunction3 : Symbol(testFunction3, Decl(promisePermutations3.ts, 18, 58))
var r4: IPromise<string>;
>r4 : Symbol(r4, Decl(promisePermutations3.ts, 74, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var sIPromise: (x: any) => IPromise<string>;
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>x : Symbol(x, Decl(promisePermutations3.ts, 75, 16))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var sPromise: (x: any) => Promise<string>;
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>x : Symbol(x, Decl(promisePermutations3.ts, 76, 15))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var r4a = r4.then(testFunction4, testFunction4, testFunction4); // error
>r4a : Symbol(r4a, Decl(promisePermutations3.ts, 77, 3))
>r4.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r4 : Symbol(r4, Decl(promisePermutations3.ts, 74, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
var r4b = r4.then(sIPromise, testFunction4, testFunction4).then(sIPromise, testFunction4, testFunction4); // ok
>r4b : Symbol(r4b, Decl(promisePermutations3.ts, 78, 3))
>r4.then(sIPromise, testFunction4, testFunction4).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r4.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r4 : Symbol(r4, Decl(promisePermutations3.ts, 74, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
var s4: Promise<string>;
>s4 : Symbol(s4, Decl(promisePermutations3.ts, 79, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s4a = s4.then(testFunction4, testFunction4, testFunction4); // error
>s4a : Symbol(s4a, Decl(promisePermutations3.ts, 80, 3))
>s4.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s4 : Symbol(s4, Decl(promisePermutations3.ts, 79, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
var s4b = s4.then(testFunction4P, testFunction4P, testFunction4P); // error
>s4b : Symbol(s4b, Decl(promisePermutations3.ts, 81, 3))
>s4.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s4 : Symbol(s4, Decl(promisePermutations3.ts, 79, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction4P : Symbol(testFunction4P, Decl(promisePermutations3.ts, 21, 72))
>testFunction4P : Symbol(testFunction4P, Decl(promisePermutations3.ts, 21, 72))
>testFunction4P : Symbol(testFunction4P, Decl(promisePermutations3.ts, 21, 72))
var s4c = s4.then(testFunction4P, testFunction4, testFunction4); // error
>s4c : Symbol(s4c, Decl(promisePermutations3.ts, 82, 3))
>s4.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s4 : Symbol(s4, Decl(promisePermutations3.ts, 79, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction4P : Symbol(testFunction4P, Decl(promisePermutations3.ts, 21, 72))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
var s4d = s4.then(sIPromise, testFunction4P, testFunction4).then(sIPromise, testFunction4P, testFunction4);
>s4d : Symbol(s4d, Decl(promisePermutations3.ts, 83, 3))
>s4.then(sIPromise, testFunction4P, testFunction4).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s4.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s4 : Symbol(s4, Decl(promisePermutations3.ts, 79, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>testFunction4P : Symbol(testFunction4P, Decl(promisePermutations3.ts, 21, 72))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>testFunction4P : Symbol(testFunction4P, Decl(promisePermutations3.ts, 21, 72))
>testFunction4 : Symbol(testFunction4, Decl(promisePermutations3.ts, 20, 60))
var r5: IPromise<string>;
>r5 : Symbol(r5, Decl(promisePermutations3.ts, 85, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var r5a = r5.then(testFunction5, testFunction5, testFunction5); // error
>r5a : Symbol(r5a, Decl(promisePermutations3.ts, 86, 3))
>r5.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r5 : Symbol(r5, Decl(promisePermutations3.ts, 85, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
var r5b = r5.then(sIPromise, sIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
>r5b : Symbol(r5b, Decl(promisePermutations3.ts, 87, 3))
>r5.then(sIPromise, sIPromise, sIPromise).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r5.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r5 : Symbol(r5, Decl(promisePermutations3.ts, 85, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var s5: Promise<string>;
>s5 : Symbol(s5, Decl(promisePermutations3.ts, 88, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s5a = s5.then(testFunction5, testFunction5, testFunction5); // error
>s5a : Symbol(s5a, Decl(promisePermutations3.ts, 89, 3))
>s5.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s5 : Symbol(s5, Decl(promisePermutations3.ts, 88, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
var s5b = s5.then(testFunction5P, testFunction5P, testFunction5P); // error
>s5b : Symbol(s5b, Decl(promisePermutations3.ts, 90, 3))
>s5.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s5 : Symbol(s5, Decl(promisePermutations3.ts, 88, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction5P : Symbol(testFunction5P, Decl(promisePermutations3.ts, 23, 87))
>testFunction5P : Symbol(testFunction5P, Decl(promisePermutations3.ts, 23, 87))
>testFunction5P : Symbol(testFunction5P, Decl(promisePermutations3.ts, 23, 87))
var s5c = s5.then(testFunction5P, testFunction5, testFunction5); // error
>s5c : Symbol(s5c, Decl(promisePermutations3.ts, 91, 3))
>s5.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s5 : Symbol(s5, Decl(promisePermutations3.ts, 88, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction5P : Symbol(testFunction5P, Decl(promisePermutations3.ts, 23, 87))
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
>testFunction5 : Symbol(testFunction5, Decl(promisePermutations3.ts, 22, 72))
var s5d = s5.then(sPromise, sPromise, sPromise).then(sIPromise, sIPromise, sIPromise); // ok
>s5d : Symbol(s5d, Decl(promisePermutations3.ts, 92, 3))
>s5.then(sPromise, sPromise, sPromise).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s5.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s5 : Symbol(s5, Decl(promisePermutations3.ts, 88, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var r6: IPromise<string>;
>r6 : Symbol(r6, Decl(promisePermutations3.ts, 94, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var r6a = r6.then(testFunction6, testFunction6, testFunction6); // error
>r6a : Symbol(r6a, Decl(promisePermutations3.ts, 95, 3))
>r6.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r6 : Symbol(r6, Decl(promisePermutations3.ts, 94, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
var r6b = r6.then(sIPromise, sIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
>r6b : Symbol(r6b, Decl(promisePermutations3.ts, 96, 3))
>r6.then(sIPromise, sIPromise, sIPromise).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r6.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r6 : Symbol(r6, Decl(promisePermutations3.ts, 94, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var s6: Promise<string>;
>s6 : Symbol(s6, Decl(promisePermutations3.ts, 97, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s6a = s6.then(testFunction6, testFunction6, testFunction6); // error
>s6a : Symbol(s6a, Decl(promisePermutations3.ts, 98, 3))
>s6.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s6 : Symbol(s6, Decl(promisePermutations3.ts, 97, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
var s6b = s6.then(testFunction6P, testFunction6P, testFunction6P); // error
>s6b : Symbol(s6b, Decl(promisePermutations3.ts, 99, 3))
>s6.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s6 : Symbol(s6, Decl(promisePermutations3.ts, 97, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction6P : Symbol(testFunction6P, Decl(promisePermutations3.ts, 25, 80))
>testFunction6P : Symbol(testFunction6P, Decl(promisePermutations3.ts, 25, 80))
>testFunction6P : Symbol(testFunction6P, Decl(promisePermutations3.ts, 25, 80))
var s6c = s6.then(testFunction6P, testFunction6, testFunction6); // error
>s6c : Symbol(s6c, Decl(promisePermutations3.ts, 100, 3))
>s6.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s6 : Symbol(s6, Decl(promisePermutations3.ts, 97, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction6P : Symbol(testFunction6P, Decl(promisePermutations3.ts, 25, 80))
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
>testFunction6 : Symbol(testFunction6, Decl(promisePermutations3.ts, 24, 87))
var s6d = s6.then(sPromise, sPromise, sPromise).then(sIPromise, sIPromise, sIPromise); // ok
>s6d : Symbol(s6d, Decl(promisePermutations3.ts, 101, 3))
>s6.then(sPromise, sPromise, sPromise).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s6.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s6 : Symbol(s6, Decl(promisePermutations3.ts, 97, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var r7: IPromise<string>;
>r7 : Symbol(r7, Decl(promisePermutations3.ts, 103, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var r7a = r7.then(testFunction7, testFunction7, testFunction7); // error
>r7a : Symbol(r7a, Decl(promisePermutations3.ts, 104, 3))
>r7.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r7 : Symbol(r7, Decl(promisePermutations3.ts, 103, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
var r7b = r7.then(sIPromise, sIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
>r7b : Symbol(r7b, Decl(promisePermutations3.ts, 105, 3))
>r7.then(sIPromise, sIPromise, sIPromise).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r7.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r7 : Symbol(r7, Decl(promisePermutations3.ts, 103, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var s7: Promise<string>;
>s7 : Symbol(s7, Decl(promisePermutations3.ts, 106, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s7a = r7.then(testFunction7, testFunction7, testFunction7); // error
>s7a : Symbol(s7a, Decl(promisePermutations3.ts, 107, 3))
>r7.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r7 : Symbol(r7, Decl(promisePermutations3.ts, 103, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
var s7b = r7.then(testFunction7P, testFunction7P, testFunction7P); // error
>s7b : Symbol(s7b, Decl(promisePermutations3.ts, 108, 3))
>r7.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r7 : Symbol(r7, Decl(promisePermutations3.ts, 103, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction7P : Symbol(testFunction7P, Decl(promisePermutations3.ts, 27, 69))
>testFunction7P : Symbol(testFunction7P, Decl(promisePermutations3.ts, 27, 69))
>testFunction7P : Symbol(testFunction7P, Decl(promisePermutations3.ts, 27, 69))
var s7c = r7.then(testFunction7P, testFunction7, testFunction7); // error
>s7c : Symbol(s7c, Decl(promisePermutations3.ts, 109, 3))
>r7.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r7 : Symbol(r7, Decl(promisePermutations3.ts, 103, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction7P : Symbol(testFunction7P, Decl(promisePermutations3.ts, 27, 69))
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
>testFunction7 : Symbol(testFunction7, Decl(promisePermutations3.ts, 26, 80))
var s7d = r7.then(sPromise, sPromise, sPromise).then(sPromise, sPromise, sPromise); // ok?
>s7d : Symbol(s7d, Decl(promisePermutations3.ts, 110, 3))
>r7.then(sPromise, sPromise, sPromise).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r7.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r7 : Symbol(r7, Decl(promisePermutations3.ts, 103, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
var r8: IPromise<number>;
>r8 : Symbol(r8, Decl(promisePermutations3.ts, 112, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var nIPromise: (x: any) => IPromise<number>;
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>x : Symbol(x, Decl(promisePermutations3.ts, 113, 16))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var nPromise: (x: any) => Promise<number>;
>nPromise : Symbol(nPromise, Decl(promisePermutations3.ts, 114, 3))
>x : Symbol(x, Decl(promisePermutations3.ts, 114, 15))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var r8a = r8.then(testFunction8, testFunction8, testFunction8); // error
>r8a : Symbol(r8a, Decl(promisePermutations3.ts, 115, 3))
>r8.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r8 : Symbol(r8, Decl(promisePermutations3.ts, 112, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
var r8b = r8.then(nIPromise, nIPromise, nIPromise).then(nIPromise, nIPromise, nIPromise); // ok
>r8b : Symbol(r8b, Decl(promisePermutations3.ts, 116, 3))
>r8.then(nIPromise, nIPromise, nIPromise).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r8.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r8 : Symbol(r8, Decl(promisePermutations3.ts, 112, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var s8: Promise<number>;
>s8 : Symbol(s8, Decl(promisePermutations3.ts, 117, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s8a = s8.then(testFunction8, testFunction8, testFunction8); // error
>s8a : Symbol(s8a, Decl(promisePermutations3.ts, 118, 3))
>s8.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s8 : Symbol(s8, Decl(promisePermutations3.ts, 117, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
var s8b = s8.then(testFunction8P, testFunction8P, testFunction8P); // error
>s8b : Symbol(s8b, Decl(promisePermutations3.ts, 119, 3))
>s8.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s8 : Symbol(s8, Decl(promisePermutations3.ts, 117, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction8P : Symbol(testFunction8P, Decl(promisePermutations3.ts, 29, 70))
>testFunction8P : Symbol(testFunction8P, Decl(promisePermutations3.ts, 29, 70))
>testFunction8P : Symbol(testFunction8P, Decl(promisePermutations3.ts, 29, 70))
var s8c = s8.then(testFunction8P, testFunction8, testFunction8); // error
>s8c : Symbol(s8c, Decl(promisePermutations3.ts, 120, 3))
>s8.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s8 : Symbol(s8, Decl(promisePermutations3.ts, 117, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction8P : Symbol(testFunction8P, Decl(promisePermutations3.ts, 29, 70))
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
>testFunction8 : Symbol(testFunction8, Decl(promisePermutations3.ts, 28, 69))
var s8d = s8.then(nIPromise, nIPromise, nIPromise).then(nIPromise, nIPromise, nIPromise); // ok
>s8d : Symbol(s8d, Decl(promisePermutations3.ts, 121, 3))
>s8.then(nIPromise, nIPromise, nIPromise).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s8.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s8 : Symbol(s8, Decl(promisePermutations3.ts, 117, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var r9: IPromise<number>;
>r9 : Symbol(r9, Decl(promisePermutations3.ts, 123, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var r9a = r9.then(testFunction9, testFunction9, testFunction9); // error
>r9a : Symbol(r9a, Decl(promisePermutations3.ts, 124, 3))
>r9.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r9 : Symbol(r9, Decl(promisePermutations3.ts, 123, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
var r9b = r9.then(sIPromise, sIPromise, sIPromise); // ok
>r9b : Symbol(r9b, Decl(promisePermutations3.ts, 125, 3))
>r9.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r9 : Symbol(r9, Decl(promisePermutations3.ts, 123, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var r9c = r9.then(nIPromise, nIPromise, nIPromise); // ok
>r9c : Symbol(r9c, Decl(promisePermutations3.ts, 126, 3))
>r9.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r9 : Symbol(r9, Decl(promisePermutations3.ts, 123, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var r9d = r9.then(testFunction, sIPromise, nIPromise); // error
>r9d : Symbol(r9d, Decl(promisePermutations3.ts, 127, 3))
>r9.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r9 : Symbol(r9, Decl(promisePermutations3.ts, 123, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var r9e = r9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
>r9e : Symbol(r9e, Decl(promisePermutations3.ts, 128, 3))
>r9.then(testFunction, nIPromise, sIPromise).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r9.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r9 : Symbol(r9, Decl(promisePermutations3.ts, 123, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var s9: Promise<number>;
>s9 : Symbol(s9, Decl(promisePermutations3.ts, 129, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s9a = s9.then(testFunction9, testFunction9, testFunction9); // error
>s9a : Symbol(s9a, Decl(promisePermutations3.ts, 130, 3))
>s9.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s9 : Symbol(s9, Decl(promisePermutations3.ts, 129, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
var s9b = s9.then(testFunction9P, testFunction9P, testFunction9P); // error
>s9b : Symbol(s9b, Decl(promisePermutations3.ts, 131, 3))
>s9.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s9 : Symbol(s9, Decl(promisePermutations3.ts, 129, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction9P : Symbol(testFunction9P, Decl(promisePermutations3.ts, 31, 73))
>testFunction9P : Symbol(testFunction9P, Decl(promisePermutations3.ts, 31, 73))
>testFunction9P : Symbol(testFunction9P, Decl(promisePermutations3.ts, 31, 73))
var s9c = s9.then(testFunction9P, testFunction9, testFunction9); // error
>s9c : Symbol(s9c, Decl(promisePermutations3.ts, 132, 3))
>s9.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s9 : Symbol(s9, Decl(promisePermutations3.ts, 129, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction9P : Symbol(testFunction9P, Decl(promisePermutations3.ts, 31, 73))
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
>testFunction9 : Symbol(testFunction9, Decl(promisePermutations3.ts, 30, 70))
var s9d = s9.then(sPromise, sPromise, sPromise); // ok
>s9d : Symbol(s9d, Decl(promisePermutations3.ts, 133, 3))
>s9.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s9 : Symbol(s9, Decl(promisePermutations3.ts, 129, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
var s9e = s9.then(nPromise, nPromise, nPromise); // ok
>s9e : Symbol(s9e, Decl(promisePermutations3.ts, 134, 3))
>s9.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s9 : Symbol(s9, Decl(promisePermutations3.ts, 129, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>nPromise : Symbol(nPromise, Decl(promisePermutations3.ts, 114, 3))
>nPromise : Symbol(nPromise, Decl(promisePermutations3.ts, 114, 3))
>nPromise : Symbol(nPromise, Decl(promisePermutations3.ts, 114, 3))
var s9f = s9.then(testFunction, sIPromise, nIPromise); // error
>s9f : Symbol(s9f, Decl(promisePermutations3.ts, 135, 3))
>s9.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s9 : Symbol(s9, Decl(promisePermutations3.ts, 129, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var s9g = s9.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
>s9g : Symbol(s9g, Decl(promisePermutations3.ts, 136, 3))
>s9.then(testFunction, nIPromise, sIPromise).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s9.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s9 : Symbol(s9, Decl(promisePermutations3.ts, 129, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var r10 = testFunction10(x => x);
>r10 : Symbol(r10, Decl(promisePermutations3.ts, 138, 3))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
>x : Symbol(x, Decl(promisePermutations3.ts, 138, 25))
>x : Symbol(x, Decl(promisePermutations3.ts, 138, 25))
var r10a = r10.then(testFunction10, testFunction10, testFunction10); // ok
>r10a : Symbol(r10a, Decl(promisePermutations3.ts, 139, 3))
>r10.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r10 : Symbol(r10, Decl(promisePermutations3.ts, 138, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
var r10b = r10.then(sIPromise, sIPromise, sIPromise); // ok
>r10b : Symbol(r10b, Decl(promisePermutations3.ts, 140, 3))
>r10.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r10 : Symbol(r10, Decl(promisePermutations3.ts, 138, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var r10c = r10.then(nIPromise, nIPromise, nIPromise); // ok
>r10c : Symbol(r10c, Decl(promisePermutations3.ts, 141, 3))
>r10.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r10 : Symbol(r10, Decl(promisePermutations3.ts, 138, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var r10d = r10.then(testFunction, sIPromise, nIPromise); // error
>r10d : Symbol(r10d, Decl(promisePermutations3.ts, 142, 3))
>r10.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r10 : Symbol(r10, Decl(promisePermutations3.ts, 138, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var r10e = r10.then(testFunction, nIPromise, sIPromise).then(sIPromise, sIPromise, sIPromise); // ok
>r10e : Symbol(r10e, Decl(promisePermutations3.ts, 143, 3))
>r10.then(testFunction, nIPromise, sIPromise).then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r10.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r10 : Symbol(r10, Decl(promisePermutations3.ts, 138, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction : Symbol(testFunction, Decl(promisePermutations3.ts, 13, 1))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var s10 = testFunction10P(x => x);
>s10 : Symbol(s10, Decl(promisePermutations3.ts, 144, 3))
>testFunction10P : Symbol(testFunction10P, Decl(promisePermutations3.ts, 33, 68))
>x : Symbol(x, Decl(promisePermutations3.ts, 144, 26))
>x : Symbol(x, Decl(promisePermutations3.ts, 144, 26))
var s10a = s10.then(testFunction10, testFunction10, testFunction10); // ok
>s10a : Symbol(s10a, Decl(promisePermutations3.ts, 145, 3))
>s10.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s10 : Symbol(s10, Decl(promisePermutations3.ts, 144, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
var s10b = s10.then(testFunction10P, testFunction10P, testFunction10P); // ok
>s10b : Symbol(s10b, Decl(promisePermutations3.ts, 146, 3))
>s10.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s10 : Symbol(s10, Decl(promisePermutations3.ts, 144, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction10P : Symbol(testFunction10P, Decl(promisePermutations3.ts, 33, 68))
>testFunction10P : Symbol(testFunction10P, Decl(promisePermutations3.ts, 33, 68))
>testFunction10P : Symbol(testFunction10P, Decl(promisePermutations3.ts, 33, 68))
var s10c = s10.then(testFunction10P, testFunction10, testFunction10); // ok
>s10c : Symbol(s10c, Decl(promisePermutations3.ts, 147, 3))
>s10.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s10 : Symbol(s10, Decl(promisePermutations3.ts, 144, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction10P : Symbol(testFunction10P, Decl(promisePermutations3.ts, 33, 68))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
>testFunction10 : Symbol(testFunction10, Decl(promisePermutations3.ts, 32, 73))
var s10d = s10.then(sPromise, sPromise, sPromise); // ok
>s10d : Symbol(s10d, Decl(promisePermutations3.ts, 148, 3))
>s10.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s10 : Symbol(s10, Decl(promisePermutations3.ts, 144, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
var s10e = s10.then(nIPromise, nPromise, nIPromise); // ok
>s10e : Symbol(s10e, Decl(promisePermutations3.ts, 149, 3))
>s10.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s10 : Symbol(s10, Decl(promisePermutations3.ts, 144, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>nPromise : Symbol(nPromise, Decl(promisePermutations3.ts, 114, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var s10f = s10.then(testFunctionP, sIPromise, nIPromise); // error
>s10f : Symbol(s10f, Decl(promisePermutations3.ts, 150, 3))
>s10.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s10 : Symbol(s10, Decl(promisePermutations3.ts, 144, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
var s10g = s10.then(testFunctionP, nIPromise, sIPromise).then(sPromise, sIPromise, sIPromise); // ok
>s10g : Symbol(s10g, Decl(promisePermutations3.ts, 151, 3))
>s10.then(testFunctionP, nIPromise, sIPromise).then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s10.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s10 : Symbol(s10, Decl(promisePermutations3.ts, 144, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunctionP : Symbol(testFunctionP, Decl(promisePermutations3.ts, 15, 50))
>nIPromise : Symbol(nIPromise, Decl(promisePermutations3.ts, 113, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>sPromise : Symbol(sPromise, Decl(promisePermutations3.ts, 76, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
>sIPromise : Symbol(sIPromise, Decl(promisePermutations3.ts, 75, 3))
var r11: IPromise<number>;
>r11 : Symbol(r11, Decl(promisePermutations3.ts, 153, 3))
>IPromise : Symbol(IPromise, Decl(promisePermutations3.ts, 8, 1))
var r11a = r11.then(testFunction11, testFunction11, testFunction11); // ok
>r11a : Symbol(r11a, Decl(promisePermutations3.ts, 154, 3))
>r11.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r11 : Symbol(r11, Decl(promisePermutations3.ts, 153, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
var s11: Promise<number>;
>s11 : Symbol(s11, Decl(promisePermutations3.ts, 155, 3))
>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 0, 0))
var s11a = s11.then(testFunction11, testFunction11, testFunction11); // ok
>s11a : Symbol(s11a, Decl(promisePermutations3.ts, 156, 3))
>s11.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s11 : Symbol(s11, Decl(promisePermutations3.ts, 155, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
var s11b = s11.then(testFunction11P, testFunction11P, testFunction11P); // error
>s11b : Symbol(s11b, Decl(promisePermutations3.ts, 157, 3))
>s11.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s11 : Symbol(s11, Decl(promisePermutations3.ts, 155, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction11P : Symbol(testFunction11P, Decl(promisePermutations3.ts, 37, 61), Decl(promisePermutations3.ts, 38, 61))
>testFunction11P : Symbol(testFunction11P, Decl(promisePermutations3.ts, 37, 61), Decl(promisePermutations3.ts, 38, 61))
>testFunction11P : Symbol(testFunction11P, Decl(promisePermutations3.ts, 37, 61), Decl(promisePermutations3.ts, 38, 61))
var s11c = s11.then(testFunction11P, testFunction11, testFunction11); // error
>s11c : Symbol(s11c, Decl(promisePermutations3.ts, 158, 3))
>s11.then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>s11 : Symbol(s11, Decl(promisePermutations3.ts, 155, 3))
>then : Symbol(Promise.then, Decl(lib.es5.d.ts, --, --), Decl(promisePermutations3.ts, 2, 22), Decl(promisePermutations3.ts, 3, 132), Decl(promisePermutations3.ts, 4, 123), Decl(promisePermutations3.ts, 5, 123))
>testFunction11P : Symbol(testFunction11P, Decl(promisePermutations3.ts, 37, 61), Decl(promisePermutations3.ts, 38, 61))
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
>testFunction11 : Symbol(testFunction11, Decl(promisePermutations3.ts, 34, 68), Decl(promisePermutations3.ts, 36, 61))
var r12 = testFunction12(x => x);
>r12 : Symbol(r12, Decl(promisePermutations3.ts, 160, 3))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>x : Symbol(x, Decl(promisePermutations3.ts, 160, 25))
>x : Symbol(x, Decl(promisePermutations3.ts, 160, 25))
var r12a = r12.then(testFunction12, testFunction12, testFunction12); // ok
>r12a : Symbol(r12a, Decl(promisePermutations3.ts, 161, 3))
>r12.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>r12 : Symbol(r12, Decl(promisePermutations3.ts, 160, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
var s12 = testFunction12(x => x);
>s12 : Symbol(s12, Decl(promisePermutations3.ts, 162, 3))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>x : Symbol(x, Decl(promisePermutations3.ts, 162, 25))
>x : Symbol(x, Decl(promisePermutations3.ts, 162, 25))
var s12a = s12.then(testFunction12, testFunction12, testFunction12); // ok
>s12a : Symbol(s12a, Decl(promisePermutations3.ts, 163, 3))
>s12.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>s12 : Symbol(s12, Decl(promisePermutations3.ts, 162, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
var s12b = s12.then(testFunction12P, testFunction12P, testFunction12P); // ok
>s12b : Symbol(s12b, Decl(promisePermutations3.ts, 164, 3))
>s12.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>s12 : Symbol(s12, Decl(promisePermutations3.ts, 162, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction12P : Symbol(testFunction12P, Decl(promisePermutations3.ts, 42, 60), Decl(promisePermutations3.ts, 43, 55))
>testFunction12P : Symbol(testFunction12P, Decl(promisePermutations3.ts, 42, 60), Decl(promisePermutations3.ts, 43, 55))
>testFunction12P : Symbol(testFunction12P, Decl(promisePermutations3.ts, 42, 60), Decl(promisePermutations3.ts, 43, 55))
var s12c = s12.then(testFunction12P, testFunction12, testFunction12); // ok
>s12c : Symbol(s12c, Decl(promisePermutations3.ts, 165, 3))
>s12.then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>s12 : Symbol(s12, Decl(promisePermutations3.ts, 162, 3))
>then : Symbol(IPromise.then, Decl(promisePermutations3.ts, 10, 23))
>testFunction12P : Symbol(testFunction12P, Decl(promisePermutations3.ts, 42, 60), Decl(promisePermutations3.ts, 43, 55))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
>testFunction12 : Symbol(testFunction12, Decl(promisePermutations3.ts, 39, 61), Decl(promisePermutations3.ts, 41, 54))
|