Commit 47f4ff2
Handle TopLevelVariableDeclaration in ConvertToFunctionDeclaration.
Closes #61819
GitOrigin-RevId: 6113f84
Change-Id: I33d684af2ce9dd050679235c5bd2182fed1f1dfe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/457560
Reviewed-by: Samuel Rawlins <[email protected]>
Commit-Queue: Samuel Rawlins <[email protected]>1 parent b668fc8 commit 47f4ff2
File tree
2 files changed
+19
-0
lines changed- pkg/analysis_server
- lib/src/services/correction/dart
- test/src/services/correction/fix
2 files changed
+19
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
273 | 290 | | |
274 | 291 | | |
275 | 292 | | |
| |||
0 commit comments