Commit 81b37fd
committed
[Refactoring] Support refactoring for
Previously we only supported `case` patterns that bound with a `let` inside the associated value like `case .success(let value)`. With this change, we also support `case let .success(value)`.
Fixes rdar://79279846 [SR-14772]case let patterns1 parent 38a8b00 commit 81b37fd
File tree
2 files changed
+12
-1
lines changed- lib/IDE
- test/refactoring/ConvertAsync
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4571 | 4571 | | |
4572 | 4572 | | |
4573 | 4573 | | |
4574 | | - | |
| 4574 | + | |
| 4575 | + | |
4575 | 4576 | | |
4576 | 4577 | | |
4577 | 4578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
268 | 278 | | |
269 | 279 | | |
270 | 280 | | |
| |||
0 commit comments