Commit fd33d9e
Elements. Use 'value' as the name of the formal parameter for a synthetic setter.
```
According to Gemini:
There is a very strong and widely followed recommendation.
The formal parameter for a setter in Dart should be named value.
```
So, it makes synthetic setters consistent with manually written setters.
These names sometimes are show in UI, e.g. in hover.
Change-Id: I4b53314aae63dce267906856d98a16ec22d38097
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/441827
Reviewed-by: Brian Wilkerson <[email protected]>
Commit-Queue: Konstantin Shcheglov <[email protected]>
Reviewed-by: Johnni Winther <[email protected]>1 parent a207698 commit fd33d9e
File tree
28 files changed
+1528
-1535
lines changed- pkg
- analysis_server/test
- analysis
- src/services/correction/fix
- analyzer
- lib/src
- dart/element
- summary2
- test/src
- dart/resolution
- diagnostics
- summary
- elements
28 files changed
+1528
-1535
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
893 | | - | |
| 893 | + | |
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
960 | 960 | | |
961 | 961 | | |
962 | 962 | | |
963 | | - | |
| 963 | + | |
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6971 | 6971 | | |
6972 | 6972 | | |
6973 | 6973 | | |
6974 | | - | |
6975 | | - | |
6976 | | - | |
6977 | | - | |
6978 | | - | |
6979 | 6974 | | |
6980 | 6975 | | |
6981 | 6976 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
| 338 | + | |
340 | 339 | | |
341 | 340 | | |
342 | 341 | | |
| |||
700 | 699 | | |
701 | 700 | | |
702 | 701 | | |
703 | | - | |
704 | | - | |
| 702 | + | |
705 | 703 | | |
706 | 704 | | |
707 | 705 | | |
| |||
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
2453 | 2453 | | |
2454 | 2454 | | |
2455 | 2455 | | |
2456 | | - | |
| 2456 | + | |
2457 | 2457 | | |
2458 | 2458 | | |
2459 | 2459 | | |
| |||
4066 | 4066 | | |
4067 | 4067 | | |
4068 | 4068 | | |
4069 | | - | |
| 4069 | + | |
4070 | 4070 | | |
4071 | 4071 | | |
4072 | 4072 | | |
| |||
4099 | 4099 | | |
4100 | 4100 | | |
4101 | 4101 | | |
4102 | | - | |
| 4102 | + | |
4103 | 4103 | | |
4104 | 4104 | | |
4105 | 4105 | | |
| |||
4882 | 4882 | | |
4883 | 4883 | | |
4884 | 4884 | | |
4885 | | - | |
| 4885 | + | |
4886 | 4886 | | |
4887 | 4887 | | |
4888 | 4888 | | |
| |||
5176 | 5176 | | |
5177 | 5177 | | |
5178 | 5178 | | |
5179 | | - | |
| 5179 | + | |
5180 | 5180 | | |
5181 | 5181 | | |
5182 | 5182 | | |
| |||
5210 | 5210 | | |
5211 | 5211 | | |
5212 | 5212 | | |
5213 | | - | |
| 5213 | + | |
5214 | 5214 | | |
5215 | 5215 | | |
5216 | 5216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
1645 | | - | |
| 1645 | + | |
1646 | 1646 | | |
1647 | 1647 | | |
1648 | 1648 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4151 | 4151 | | |
4152 | 4152 | | |
4153 | 4153 | | |
4154 | | - | |
| 4154 | + | |
4155 | 4155 | | |
4156 | 4156 | | |
4157 | 4157 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| |||
2533 | 2533 | | |
2534 | 2534 | | |
2535 | 2535 | | |
2536 | | - | |
| 2536 | + | |
2537 | 2537 | | |
2538 | 2538 | | |
2539 | 2539 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments