Commit da3e12f
Elements. For LocalVariableFragment enclosingFragment can be anything, not only ExecutableFragment.
For example, here it is the top-level variable fragment.
```
final a = [for (final value in []) value * 2];
```
Change-Id: I0c09c890256b624a28c1d55fffbfd94f9431b83e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/398928
Commit-Queue: Konstantin Shcheglov <[email protected]>
Reviewed-by: Brian Wilkerson <[email protected]>1 parent fcd4d86 commit da3e12f
File tree
2 files changed
+1
-5
lines changed- pkg/analyzer/lib
- dart/element
- src/dart/element
2 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1816 | 1816 | | |
1817 | 1817 | | |
1818 | 1818 | | |
1819 | | - | |
1820 | | - | |
1821 | | - | |
1822 | 1819 | | |
1823 | 1820 | | |
1824 | 1821 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7322 | 7322 | | |
7323 | 7323 | | |
7324 | 7324 | | |
7325 | | - | |
7326 | | - | |
| 7325 | + | |
7327 | 7326 | | |
7328 | 7327 | | |
7329 | 7328 | | |
| |||
0 commit comments