Commit 1c7a29e
authored
Port fixes from master into release-2.5 (#18361)
* Test: parsing of two-line @typedef jsdoc
* Fix forEachChild's visit of JSDocTypedefTag
Also remove JSDocTypeLiteral.jsdocTypeTag, which made no sense since it
was only useful when storing information for its parent `@typedef` tag.
* Update baselines
* Inline variable to aid control flow
* Improved caching scheme for anonymous types
* Fix signature help
* Optimize caching of type literals
* Accept new baselines
* Fix linting errors
* Use canonicalized forms when comparing signatures
* Minor changes
* Document ThrottledOperations.schedule
* Limit the number of unanswered typings installer requests
If we send them all at once, we (apparently) hit a buffer limit in the
node IPC channel and both TS Server and the typings installer become
unresponsive.
* Fix lint issues
* Add explanatory comment1 parent c476a08 commit 1c7a29e
File tree
16 files changed
+263
-245
lines changed- src
- compiler
- server
- services
- tests
- baselines/reference
- JSDocParsing
- cases/conformance/jsdoc
16 files changed
+263
-245
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
443 | 445 | | |
444 | 446 | | |
445 | 447 | | |
| |||
6667 | 6669 | | |
6668 | 6670 | | |
6669 | 6671 | | |
6670 | | - | |
| 6672 | + | |
6671 | 6673 | | |
6672 | 6674 | | |
6673 | 6675 | | |
6674 | 6676 | | |
6675 | 6677 | | |
6676 | 6678 | | |
6677 | | - | |
| 6679 | + | |
6678 | 6680 | | |
6679 | 6681 | | |
6680 | 6682 | | |
6681 | | - | |
6682 | | - | |
| 6683 | + | |
6683 | 6684 | | |
6684 | 6685 | | |
6685 | 6686 | | |
| |||
6693 | 6694 | | |
6694 | 6695 | | |
6695 | 6696 | | |
6696 | | - | |
| 6697 | + | |
| 6698 | + | |
| 6699 | + | |
6697 | 6700 | | |
6698 | 6701 | | |
6699 | 6702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2150 | 2150 | | |
2151 | 2151 | | |
2152 | 2152 | | |
2153 | | - | |
2154 | 2153 | | |
2155 | 2154 | | |
2156 | 2155 | | |
| |||
3296 | 3295 | | |
3297 | 3296 | | |
3298 | 3297 | | |
3299 | | - | |
| 3298 | + | |
3300 | 3299 | | |
3301 | 3300 | | |
3302 | 3301 | | |
3303 | 3302 | | |
3304 | 3303 | | |
3305 | | - | |
3306 | 3304 | | |
3307 | 3305 | | |
3308 | 3306 | | |
| |||
3412 | 3410 | | |
3413 | 3411 | | |
3414 | 3412 | | |
| 3413 | + | |
| 3414 | + | |
3415 | 3415 | | |
3416 | 3416 | | |
3417 | 3417 | | |
| |||
3433 | 3433 | | |
3434 | 3434 | | |
3435 | 3435 | | |
3436 | | - | |
3437 | | - | |
3438 | 3436 | | |
3439 | 3437 | | |
3440 | 3438 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
238 | 243 | | |
239 | 244 | | |
240 | 245 | | |
241 | 246 | | |
242 | 247 | | |
243 | | - | |
244 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
245 | 261 | | |
246 | 262 | | |
247 | 263 | | |
248 | 264 | | |
249 | | - | |
| 265 | + | |
250 | 266 | | |
251 | 267 | | |
252 | 268 | | |
253 | 269 | | |
254 | 270 | | |
255 | | - | |
256 | 271 | | |
257 | 272 | | |
258 | 273 | | |
| |||
333 | 348 | | |
334 | 349 | | |
335 | 350 | | |
336 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
337 | 354 | | |
338 | 355 | | |
339 | 356 | | |
340 | 357 | | |
341 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
342 | 371 | | |
343 | 372 | | |
344 | 373 | | |
| |||
399 | 428 | | |
400 | 429 | | |
401 | 430 | | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
402 | 451 | | |
403 | 452 | | |
404 | 453 | | |
405 | 454 | | |
406 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
407 | 464 | | |
408 | 465 | | |
409 | 466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
182 | 188 | | |
183 | 189 | | |
184 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
376 | | - | |
| 375 | + | |
377 | 376 | | |
378 | 377 | | |
379 | 378 | | |
| |||
tests/baselines/reference/JSDocParsing/DocComments.parsesCorrectly.typedefTagWithChildrenTags.json
Lines changed: 0 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 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 | 37 | | |
70 | 38 | | |
71 | 39 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
105 | | - | |
106 | | - | |
107 | 103 | | |
108 | 104 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments