Commit 784396c
authored
Infer implied arity before inferring from 'this' argument (microsoft#39328)
* Infer implied arity before inferring from 'this' argument
* Add regression test1 parent 9458f8a commit 784396cCopy full SHA for 784396c
6 files changed
+110-7Lines changed: 110 additions & 7 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- cases/conformance/types/tuple
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+8-7Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25773 | 25773 | |
25774 | 25774 | |
25775 | 25775 | |
25776 | | - |
25777 | | - |
25778 | | - |
25779 | | - |
25780 | | - |
25781 | | - |
25782 | | - |
25783 | 25776 | |
25784 | 25777 | |
25785 | 25778 | |
| ||
25788 | 25781 | |
25789 | 25782 | |
25790 | 25783 | |
| 25784 | + |
| 25785 | + |
| 25786 | + |
| 25787 | + |
| 25788 | + |
| 25789 | + |
| 25790 | + |
| 25791 | + |
25791 | 25792 | |
25792 | 25793 | |
25793 | 25794 | |
|
Collapse file
tests/baselines/reference/variadicTuples1.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/variadicTuples1.errors.txt+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
463 | 463 | |
464 | 464 | |
465 | 465 | |
| 466 | + |
| 467 | + |
| 468 | + |
| 469 | + |
| 470 | + |
| 471 | + |
| 472 | + |
| 473 | + |
| 474 | + |
| 475 | + |
466 | 476 | |
Collapse file
tests/baselines/reference/variadicTuples1.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/variadicTuples1.js+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
351 | 351 | |
352 | 352 | |
353 | 353 | |
| 354 | + |
| 355 | + |
| 356 | + |
| 357 | + |
| 358 | + |
| 359 | + |
| 360 | + |
| 361 | + |
| 362 | + |
| 363 | + |
354 | 364 | |
355 | 365 | |
356 | 366 | |
| ||
557 | 567 | |
558 | 568 | |
559 | 569 | |
| 570 | + |
560 | 571 | |
561 | 572 | |
562 | 573 | |
| ||
703 | 714 | |
704 | 715 | |
705 | 716 | |
| 717 | + |
| 718 | + |
| 719 | + |
| 720 | + |
| 721 | + |
| 722 | + |
Collapse file
tests/baselines/reference/variadicTuples1.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/variadicTuples1.symbols+40Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1204 | 1204 | |
1205 | 1205 | |
1206 | 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 | + |
Collapse file
tests/baselines/reference/variadicTuples1.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/variadicTuples1.types+25Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1254 | 1254 | |
1255 | 1255 | |
1256 | 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 | + |
Collapse file
tests/cases/conformance/types/tuple/variadicTuples1.ts
Copy file name to clipboardExpand all lines: tests/cases/conformance/types/tuple/variadicTuples1.ts+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
353 | 353 | |
354 | 354 | |
355 | 355 | |
| 356 | + |
| 357 | + |
| 358 | + |
| 359 | + |
| 360 | + |
| 361 | + |
| 362 | + |
| 363 | + |
| 364 | + |
| 365 | + |
0 commit comments