Commit e923872
authored
[D] Fix
* [D] Fix auto keyword in if() and while() conditions
This commit adds `auto` keyword to `first-value`.
* [D] Remove auto from basic-type
This commit removes redundant pattern as `auto` is part of `attributes`
variable and therefore already included via `attribute_lookahead` context.auto attribute in if and while conditions (#4568)1 parent da5a420 commit e923872
2 files changed
Lines changed: 31 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
888 | 888 | | |
889 | 889 | | |
890 | 890 | | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | 891 | | |
895 | 892 | | |
896 | 893 | | |
| |||
2347 | 2344 | | |
2348 | 2345 | | |
2349 | 2346 | | |
2350 | | - | |
| 2347 | + | |
2351 | 2348 | | |
2352 | 2349 | | |
2353 | 2350 | | |
2354 | 2351 | | |
2355 | 2352 | | |
2356 | 2353 | | |
2357 | 2354 | | |
| 2355 | + | |
| 2356 | + | |
| 2357 | + | |
| 2358 | + | |
| 2359 | + | |
| 2360 | + | |
2358 | 2361 | | |
2359 | 2362 | | |
2360 | 2363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2251 | 2251 | | |
2252 | 2252 | | |
2253 | 2253 | | |
| 2254 | + | |
2254 | 2255 | | |
2255 | 2256 | | |
2256 | 2257 | | |
| |||
2260 | 2261 | | |
2261 | 2262 | | |
2262 | 2263 | | |
2263 | | - | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
2264 | 2276 | | |
2265 | 2277 | | |
2266 | 2278 | | |
| |||
2330 | 2342 | | |
2331 | 2343 | | |
2332 | 2344 | | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
| 2355 | + | |
2333 | 2356 | | |
2334 | 2357 | | |
2335 | 2358 | | |
| |||
0 commit comments