Commit 36e212b
authored
Report circular JSDoc type references (#27404)
JSDoc types references can often be to values, which can often be
circular in ways that types tied to declarations cannot. I decided to
create a separate property on SymbolLinks rather than reusing
declaredType, although I'm not sure that's strictly required.1 parent f23845a commit 36e212b
File tree
7 files changed
+71
-4
lines changed- src/compiler
- tests
- baselines/reference
- cases/conformance/jsdoc
7 files changed
+71
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
| 654 | + | |
654 | 655 | | |
655 | 656 | | |
656 | 657 | | |
| |||
4490 | 4491 | | |
4491 | 4492 | | |
4492 | 4493 | | |
| 4494 | + | |
| 4495 | + | |
4493 | 4496 | | |
4494 | 4497 | | |
4495 | 4498 | | |
| |||
8258 | 8261 | | |
8259 | 8262 | | |
8260 | 8263 | | |
8261 | | - | |
| 8264 | + | |
8262 | 8265 | | |
8263 | 8266 | | |
8264 | 8267 | | |
| |||
8301 | 8304 | | |
8302 | 8305 | | |
8303 | 8306 | | |
| 8307 | + | |
| 8308 | + | |
| 8309 | + | |
8304 | 8310 | | |
8305 | 8311 | | |
8306 | 8312 | | |
| 8313 | + | |
| 8314 | + | |
| 8315 | + | |
| 8316 | + | |
| 8317 | + | |
8307 | 8318 | | |
8308 | 8319 | | |
8309 | | - | |
| 8320 | + | |
| 8321 | + | |
8310 | 8322 | | |
8311 | 8323 | | |
8312 | 8324 | | |
| |||
8443 | 8455 | | |
8444 | 8456 | | |
8445 | 8457 | | |
8446 | | - | |
| 8458 | + | |
8447 | 8459 | | |
8448 | 8460 | | |
8449 | 8461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2116 | 2116 | | |
2117 | 2117 | | |
2118 | 2118 | | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
2119 | 2123 | | |
2120 | 2124 | | |
2121 | 2125 | | |
| |||
4680 | 4684 | | |
4681 | 4685 | | |
4682 | 4686 | | |
4683 | | - | |
| 4687 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3535 | 3535 | | |
3536 | 3536 | | |
3537 | 3537 | | |
| 3538 | + | |
3538 | 3539 | | |
3539 | 3540 | | |
3540 | 3541 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments