Commit 66e85df
Reporter applies lint actions
Instead of testing whether to emit actions by probing suppressions,
just let the reporter apply LintWarning actions when the warning
is actually reported.1 parent 397d4d7 commit 66e85df
File tree
4 files changed
+11
-20
lines changed- compiler/src/dotty/tools/dotc
- reporting
- transform
4 files changed
+11
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| 178 | + | |
| 179 | + | |
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
Lines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
| 530 | + | |
546 | 531 | | |
547 | 532 | | |
548 | 533 | | |
549 | 534 | | |
550 | 535 | | |
551 | 536 | | |
552 | | - | |
| 537 | + | |
| 538 | + | |
553 | 539 | | |
554 | 540 | | |
555 | 541 | | |
| |||
712 | 698 | | |
713 | 699 | | |
714 | 700 | | |
715 | | - | |
716 | 701 | | |
717 | 702 | | |
718 | 703 | | |
| |||
0 commit comments