Commit 253e715
[analyzer] Report warnings on expressions with non-nullable types
Part of #56836
Change-Id: I3fcdceff667f371fcf4b66c12bd16e2f34e6446c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/391621
Reviewed-by: Keerti Parthasarathy <[email protected]>
Reviewed-by: Erik Ernst <[email protected]>
Commit-Queue: Chloe Stefantsova <[email protected]>1 parent b7aa0fa commit 253e715
File tree
14 files changed
+343
-76
lines changed- pkg
- analysis_server/lib/src/services/correction
- analyzer
- lib/src
- error
- generated
- test/src/diagnostics
- tool/diagnostics
- test_runner/lib/src
- tests/language/null_aware_elements
14 files changed
+343
-76
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3375 | 3375 | | |
3376 | 3376 | | |
3377 | 3377 | | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
3378 | 3384 | | |
3379 | 3385 | | |
3380 | 3386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6070 | 6070 | | |
6071 | 6071 | | |
6072 | 6072 | | |
| 6073 | + | |
| 6074 | + | |
| 6075 | + | |
| 6076 | + | |
| 6077 | + | |
| 6078 | + | |
| 6079 | + | |
| 6080 | + | |
| 6081 | + | |
| 6082 | + | |
| 6083 | + | |
| 6084 | + | |
| 6085 | + | |
| 6086 | + | |
| 6087 | + | |
| 6088 | + | |
| 6089 | + | |
| 6090 | + | |
| 6091 | + | |
| 6092 | + | |
| 6093 | + | |
| 6094 | + | |
| 6095 | + | |
| 6096 | + | |
| 6097 | + | |
| 6098 | + | |
| 6099 | + | |
| 6100 | + | |
| 6101 | + | |
| 6102 | + | |
| 6103 | + | |
6073 | 6104 | | |
6074 | 6105 | | |
6075 | 6106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
961 | 964 | | |
962 | 965 | | |
963 | 966 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1157 | 1157 | | |
1158 | 1158 | | |
1159 | 1159 | | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
1160 | 1175 | | |
1161 | 1176 | | |
1162 | 1177 | | |
| |||
1296 | 1311 | | |
1297 | 1312 | | |
1298 | 1313 | | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
1299 | 1322 | | |
1300 | 1323 | | |
1301 | 1324 | | |
| |||
5551 | 5574 | | |
5552 | 5575 | | |
5553 | 5576 | | |
5554 | | - | |
| 5577 | + | |
| 5578 | + | |
5555 | 5579 | | |
5556 | 5580 | | |
5557 | 5581 | | |
| |||
5560 | 5584 | | |
5561 | 5585 | | |
5562 | 5586 | | |
5563 | | - | |
5564 | | - | |
5565 | | - | |
| 5587 | + | |
| 5588 | + | |
| 5589 | + | |
| 5590 | + | |
| 5591 | + | |
| 5592 | + | |
| 5593 | + | |
| 5594 | + | |
| 5595 | + | |
| 5596 | + | |
| 5597 | + | |
| 5598 | + | |
| 5599 | + | |
| 5600 | + | |
5566 | 5601 | | |
5567 | 5602 | | |
5568 | 5603 | | |
| |||
7164 | 7199 | | |
7165 | 7200 | | |
7166 | 7201 | | |
| 7202 | + | |
| 7203 | + | |
| 7204 | + | |
| 7205 | + | |
7167 | 7206 | | |
7168 | 7207 | | |
7169 | 7208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22673 | 22673 | | |
22674 | 22674 | | |
22675 | 22675 | | |
| 22676 | + | |
| 22677 | + | |
| 22678 | + | |
| 22679 | + | |
| 22680 | + | |
| 22681 | + | |
| 22682 | + | |
| 22683 | + | |
22676 | 22684 | | |
22677 | 22685 | | |
22678 | 22686 | | |
| |||
22695 | 22703 | | |
22696 | 22704 | | |
22697 | 22705 | | |
| 22706 | + | |
| 22707 | + | |
| 22708 | + | |
| 22709 | + | |
| 22710 | + | |
| 22711 | + | |
| 22712 | + | |
| 22713 | + | |
| 22714 | + | |
| 22715 | + | |
| 22716 | + | |
| 22717 | + | |
| 22718 | + | |
| 22719 | + | |
| 22720 | + | |
| 22721 | + | |
| 22722 | + | |
| 22723 | + | |
22698 | 22724 | | |
22699 | 22725 | | |
22700 | 22726 | | |
| |||
Lines changed: 53 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 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments