mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:28:02 +00:00
Remove 'final' from pattern variables fields.
Bug: https://buganizer.corp.google.com/issues/260986270 Change-Id: I0afc38a49a6714b42304a51cbb7869caff278d86 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/273260 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
4a5eff63d7
commit
1f42c2a6f3
1 changed files with 2 additions and 2 deletions
|
@ -6473,7 +6473,7 @@ class GuardedPatternImpl extends AstNodeImpl implements GuardedPattern {
|
|||
|
||||
/// Variables declared in [pattern], available in [whenClause] guard, and
|
||||
/// to the `ifTrue` node.
|
||||
late final Map<String, PromotableElement> variables;
|
||||
late Map<String, PromotableElement> variables;
|
||||
|
||||
@override
|
||||
final WhenClauseImpl? whenClause;
|
||||
|
@ -12574,7 +12574,7 @@ class SwitchStatementCaseGroup {
|
|||
final bool hasLabels;
|
||||
|
||||
/// Joined variables declared in [members], available in [statements].
|
||||
late final Map<String, PromotableElement> variables;
|
||||
late Map<String, PromotableElement> variables;
|
||||
|
||||
SwitchStatementCaseGroup(this.members, this.hasLabels);
|
||||
|
||||
|
|
Loading…
Reference in a new issue