Commit 5d5977f
lint rule: unnecessary_parenthesis: fix switch expression case
Fixes https://github.com/dart-lang/linter/issues/5008
Change-Id: I423dbc4a431b5495b032c7803d6b691b65179022
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/389783
Auto-Submit: Samuel Rawlins <[email protected]>
Commit-Queue: Phil Quitslund <[email protected]>
Reviewed-by: Phil Quitslund <[email protected]>1 parent aa6f85c commit 5d5977f
File tree
2 files changed
+14
-10
lines changed- pkg/linter
- lib/src/rules
- test/rules
2 files changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 163 | | |
172 | 164 | | |
173 | 165 | | |
| |||
230 | 222 | | |
231 | 223 | | |
232 | 224 | | |
| 225 | + | |
233 | 226 | | |
234 | 227 | | |
235 | 228 | | |
| |||
327 | 320 | | |
328 | 321 | | |
329 | 322 | | |
| 323 | + | |
330 | 324 | | |
| 325 | + | |
331 | 326 | | |
332 | 327 | | |
333 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
569 | 578 | | |
570 | 579 | | |
571 | 580 | | |
| |||
0 commit comments