Repository navigation
Commit 2ff6fb5
committed
fix(parser): include generator marker in overload diagnostic span (#27313)
Include the generator `*` in TS1222 diagnostic spans for class method overload signatures. Use the earlier of the function start and generator marker so function declaration spans retain their existing start.1 parent 4359a66 commit 2ff6fb5
2 files changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
354 | 356 | | |
355 | 357 | | |
356 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21647 | 21647 | | |
21648 | 21648 | | |
21649 | 21649 | | |
21650 | | - | |
| 21650 | + | |
21651 | 21651 | | |
21652 | 21652 | | |
21653 | | - | |
| 21653 | + | |
21654 | 21654 | | |
21655 | 21655 | | |
21656 | 21656 | | |
21657 | 21657 | | |
21658 | | - | |
| 21658 | + | |
21659 | 21659 | | |
21660 | 21660 | | |
21661 | | - | |
| 21661 | + | |
21662 | 21662 | | |
21663 | 21663 | | |
21664 | 21664 | | |
| |||
0 commit comments