This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit e0fd546
Improve "why not promoted" context message for the case of writes.
The new message phrasing should flow better, especially in the analyzer CLI.
For the motivation for this change, please see
dart-lang/sdk#44904 (comment)
Bug: dart-lang/sdk#44898
Change-Id: I595492c64b42aff25cae5a8936c32aa8a218edd8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/184601
Reviewed-by: Johnni Winther <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent e05ad3a commit e0fd546
File tree
4 files changed
+12
-13
lines changed- pkg
- analyzer/lib/src/dart/resolver
- front_end
- test
4 files changed
+12
-13
lines changedLines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9665 | 9665 | | |
9666 | 9666 | | |
9667 | 9667 | | |
9668 | | - | |
9669 | | - | |
9670 | | - | |
9671 | | - | |
9672 | | - | |
9673 | | - | |
9674 | | - | |
9675 | | - | |
9676 | | - | |
| 9668 | + | |
| 9669 | + | |
| 9670 | + | |
| 9671 | + | |
| 9672 | + | |
| 9673 | + | |
| 9674 | + | |
9677 | 9675 | | |
9678 | 9676 | | |
9679 | 9677 | | |
| |||
9687 | 9685 | | |
9688 | 9686 | | |
9689 | 9687 | | |
9690 | | - | |
| 9688 | + | |
9691 | 9689 | | |
9692 | 9690 | | |
9693 | 9691 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
396 | | - | |
| 395 | + | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4589 | 4589 | | |
4590 | 4590 | | |
4591 | 4591 | | |
4592 | | - | |
| 4592 | + | |
4593 | 4593 | | |
4594 | 4594 | | |
4595 | 4595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments