[XL] Change in dart/sdk[main]: AST. Implement DirectAssignment and UnqualifiedNameAssignmentTarget.

1 view
Skip to first unread message

Paul Berry (Gerrit)

unread,
Aug 4, 2026, 12:55:30 PM (yesterday) Aug 4
to Konstantin Shcheglov, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther and Konstantin Shcheglov

Paul Berry added 4 comments

File pkg/analyzer/lib/src/dart/ast/ast.dart
Line 2931, Patchset 7 (Latest):/// A non-value source occurrence that denotes an assignment destination.
Paul Berry . unresolved

Can you clarify what is meant by "non-value source occurrence"? I'm confused by:

  • The meaning of "source occurrence"; is this just another way of saying "AST node"?
  • What it means for a source occurrence to "not be a value". Maybe what you mean is that in contrast to an AST node whose runtime behavior includes generating an output value, the runtime behavior of an `AssignmentTarget` includes receiving an input value and storing it at a location (or propagating it to a setter function)?
Line 12192, Patchset 7 (Latest):/// A direct assignment using `=`.
Paul Berry . unresolved

Can you add a few words here to contrast this with kinds of assignments that are not direct assignments?

Line 31573, Patchset 7 (Latest):/// A [ReachableNamedTargetResolution] describes the operations that can be
Paul Berry . unresolved

Can you clarify the difference between `Reachable` and `Unreachable` with some examples? I'm not able to figure out what the difference is.

The AI suggestions seem to say that we use `Unreachable` for invocations whose target type is `Never`, and null-aware invocations whose target type is `Null`. Is that correct? If so, I'm concerned that the `Reachable` vs `Unreachable` nomenclature is going to be confusing, because reachability is a flow analysis concept that's related but not the same. E.g., in the code below, flow analysis considers both `isEven`s to be unreachable, but I believe that the notion you're defining here considers only the second `isEven` to be unreachable:

```
f(int i, Null n) {
if (n != null) {
print(i.isEven);
}
print(n?.isEven);
}
```

Assuming my analysis is correct, I would prefer if we could come up with different terminology than reachable vs. unreachable, to avoid confusion with the flow analysis notion of reachability.

Line 38090, Patchset 7 (Latest):/// The operations resolved for a named assignment target whose access path can
Paul Berry . unresolved

Once we resolve what to do about `NamedTargetResolution` (see my review comment above), I would appreciate if a little more detail could be added to this doc comment, so that a reader doesn't have to refer to the `NamedTargetResolution` doc comment to understand how this differs from `UnreachableNamedTargetResolution`.

Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
  • Konstantin Shcheglov
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
Gerrit-Change-Number: 530260
Gerrit-PatchSet: 7
Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Paul Berry <paul...@google.com>
Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
Gerrit-Attention: Johnni Winther <johnni...@google.com>
Gerrit-Comment-Date: Tue, 04 Aug 2026 16:55:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Konstantin Shcheglov (Gerrit)

unread,
Aug 4, 2026, 9:29:59 PM (22 hours ago) Aug 4
to Paul Berry, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther and Paul Berry

Konstantin Shcheglov added 4 comments

File pkg/analyzer/lib/src/dart/ast/ast.dart
Line 2931, Patchset 7:/// A non-value source occurrence that denotes an assignment destination.
Paul Berry . resolved

Can you clarify what is meant by "non-value source occurrence"? I'm confused by:

  • The meaning of "source occurrence"; is this just another way of saying "AST node"?
  • What it means for a source occurrence to "not be a value". Maybe what you mean is that in contrast to an AST node whose runtime behavior includes generating an output value, the runtime behavior of an `AssignmentTarget` includes receiving an input value and storing it at a location (or propagating it to a setter function)?
Konstantin Shcheglov

Done

Line 12192, Patchset 7:/// A direct assignment using `=`.
Paul Berry . resolved

Can you add a few words here to contrast this with kinds of assignments that are not direct assignments?

Konstantin Shcheglov

Done

Line 31573, Patchset 7:/// A [ReachableNamedTargetResolution] describes the operations that can be
Paul Berry . resolved

Can you clarify the difference between `Reachable` and `Unreachable` with some examples? I'm not able to figure out what the difference is.

The AI suggestions seem to say that we use `Unreachable` for invocations whose target type is `Never`, and null-aware invocations whose target type is `Null`. Is that correct? If so, I'm concerned that the `Reachable` vs `Unreachable` nomenclature is going to be confusing, because reachability is a flow analysis concept that's related but not the same. E.g., in the code below, flow analysis considers both `isEven`s to be unreachable, but I believe that the notion you're defining here considers only the second `isEven` to be unreachable:

```
f(int i, Null n) {
if (n != null) {
print(i.isEven);
}
print(n?.isEven);
}
```

Assuming my analysis is correct, I would prefer if we could come up with different terminology than reachable vs. unreachable, to avoid confusion with the flow analysis notion of reachability.

Konstantin Shcheglov

I think you are right, it was overcomplicated. I decided to fold everything into single `NamedTargetResolution`, where both `read` and `write` could be `null`.

Line 38090, Patchset 7:/// The operations resolved for a named assignment target whose access path can
Paul Berry . resolved

Once we resolve what to do about `NamedTargetResolution` (see my review comment above), I would appreciate if a little more detail could be added to this doc comment, so that a reader doesn't have to refer to the `NamedTargetResolution` doc comment to understand how this differs from `UnreachableNamedTargetResolution`.

Konstantin Shcheglov

It is gone now.

Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
  • Paul Berry
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
Gerrit-Change-Number: 530260
Gerrit-PatchSet: 9
Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Paul Berry <paul...@google.com>
Gerrit-Attention: Paul Berry <paul...@google.com>
Gerrit-Attention: Johnni Winther <johnni...@google.com>
Gerrit-Comment-Date: Wed, 05 Aug 2026 01:29:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Berry <paul...@google.com>
unsatisfied_requirement
open
diffy

Konstantin Shcheglov (Gerrit)

unread,
12:26 PM (7 hours ago) 12:26 PM
to Paul Berry, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther and Paul Berry

Konstantin Shcheglov added 1 comment

Patchset-level comments
File-level comment, Patchset 11 (Latest):
Konstantin Shcheglov . resolved

PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
  • Paul Berry
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
Gerrit-Change-Number: 530260
Gerrit-PatchSet: 11
Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Paul Berry <paul...@google.com>
Gerrit-Attention: Paul Berry <paul...@google.com>
Gerrit-Attention: Johnni Winther <johnni...@google.com>
Gerrit-Comment-Date: Wed, 05 Aug 2026 16:26:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Konstantin Shcheglov (Gerrit)

unread,
2:39 PM (4 hours ago) 2:39 PM
to Paul Berry, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther and Paul Berry

Konstantin Shcheglov added 1 comment

Patchset-level comments
Konstantin Shcheglov . resolved

Note, I thought some more about it, and will inline `NamedTargetResolution` into assignment targets, as `NamedReadResolution? get readResolution` and `NamedWriteResolution? get writeResolution`. I will ping the CL again, when it is ready.

Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
  • Paul Berry
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
Gerrit-Change-Number: 530260
Gerrit-PatchSet: 11
Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Paul Berry <paul...@google.com>
Gerrit-Attention: Paul Berry <paul...@google.com>
Gerrit-Attention: Johnni Winther <johnni...@google.com>
Gerrit-Comment-Date: Wed, 05 Aug 2026 18:38:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Konstantin Shcheglov (Gerrit)

unread,
5:09 PM (2 hours ago) 5:09 PM
to Paul Berry, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther and Paul Berry

Konstantin Shcheglov added 1 comment

Patchset-level comments
File-level comment, Patchset 12 (Latest):
Konstantin Shcheglov . unresolved

The refactoring was done.
The CL is ready for review.

Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
  • Paul Berry
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
Gerrit-Change-Number: 530260
Gerrit-PatchSet: 12
Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Paul Berry <paul...@google.com>
Gerrit-Attention: Paul Berry <paul...@google.com>
Gerrit-Attention: Johnni Winther <johnni...@google.com>
Gerrit-Comment-Date: Wed, 05 Aug 2026 21:09:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Paul Berry (Gerrit)

unread,
5:26 PM (2 hours ago) 5:26 PM
to Konstantin Shcheglov, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Johnni Winther and Konstantin Shcheglov

Paul Berry voted and added 1 comment

Votes added by Paul Berry

Code-Review+1

1 comment

Patchset-level comments
Paul Berry . resolved

I like the new approach, thanks!

lgtm

Open in Gerrit

Related details

Attention is currently required from:
  • Johnni Winther
  • Konstantin Shcheglov
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sdk
    Gerrit-Branch: main
    Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
    Gerrit-Change-Number: 530260
    Gerrit-PatchSet: 12
    Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
    Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Paul Berry <paul...@google.com>
    Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Attention: Johnni Winther <johnni...@google.com>
    Gerrit-Comment-Date: Wed, 05 Aug 2026 21:26:15 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Brian Wilkerson (Gerrit)

    unread,
    5:56 PM (1 hour ago) 5:56 PM
    to Konstantin Shcheglov, Brian Wilkerson, Paul Berry, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
    Attention needed from Johnni Winther and Konstantin Shcheglov

    Brian Wilkerson added 2 comments

    Patchset-level comments
    Brian Wilkerson . resolved

    The server changes lgtm.

    File pkg/analysis_server/lib/src/services/correction/dart/convert_to_switch_expression.dart
    Line 456, Patchset 12 (Latest): Statement statement = statements.first;
    Brian Wilkerson . resolved

    I'm not seeing anything to explain why this needs an explicit type, but I'll assume that it's necessary.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Johnni Winther
    • Konstantin Shcheglov
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sdk
    Gerrit-Branch: main
    Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
    Gerrit-Change-Number: 530260
    Gerrit-PatchSet: 12
    Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
    Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
    Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Paul Berry <paul...@google.com>
    Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Attention: Johnni Winther <johnni...@google.com>
    Gerrit-Comment-Date: Wed, 05 Aug 2026 21:56:28 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Konstantin Shcheglov (Gerrit)

    unread,
    5:57 PM (1 hour ago) 5:57 PM
    to Brian Wilkerson, Paul Berry, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
    Attention needed from Brian Wilkerson and Johnni Winther

    Konstantin Shcheglov added 1 comment

    File pkg/analysis_server/lib/src/services/correction/dart/convert_to_switch_expression.dart
    Line 456, Patchset 12 (Latest): Statement statement = statements.first;
    Brian Wilkerson . resolved

    I'm not seeing anything to explain why this needs an explicit type, but I'll assume that it's necessary.

    Konstantin Shcheglov

    This is not jump back to API types, so that the type checks below promote.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Brian Wilkerson
    • Johnni Winther
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sdk
    Gerrit-Branch: main
    Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
    Gerrit-Change-Number: 530260
    Gerrit-PatchSet: 12
    Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
    Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
    Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Paul Berry <paul...@google.com>
    Gerrit-Attention: Brian Wilkerson <brianwi...@google.com>
    Gerrit-Attention: Johnni Winther <johnni...@google.com>
    Gerrit-Comment-Date: Wed, 05 Aug 2026 21:57:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Brian Wilkerson <brianwi...@google.com>
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Brian Wilkerson (Gerrit)

    unread,
    6:00 PM (1 hour ago) 6:00 PM
    to Konstantin Shcheglov, Brian Wilkerson, Paul Berry, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
    Attention needed from Johnni Winther and Konstantin Shcheglov

    Brian Wilkerson voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Johnni Winther
    • Konstantin Shcheglov
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sdk
    Gerrit-Branch: main
    Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
    Gerrit-Change-Number: 530260
    Gerrit-PatchSet: 12
    Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
    Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
    Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Paul Berry <paul...@google.com>
    Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Attention: Johnni Winther <johnni...@google.com>
    Gerrit-Comment-Date: Wed, 05 Aug 2026 22:00:45 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Konstantin Shcheglov (Gerrit)

    unread,
    6:01 PM (1 hour ago) 6:01 PM
    to Brian Wilkerson, Paul Berry, Johnni Winther, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
    Attention needed from Johnni Winther

    Konstantin Shcheglov voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Johnni Winther
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: sdk
    Gerrit-Branch: main
    Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
    Gerrit-Change-Number: 530260
    Gerrit-PatchSet: 12
    Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
    Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
    Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Paul Berry <paul...@google.com>
    Gerrit-Attention: Johnni Winther <johnni...@google.com>
    Gerrit-Comment-Date: Wed, 05 Aug 2026 22:01:34 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    dart-scoped@luci-project-accounts.iam.gserviceaccount.com (Gerrit)

    unread,
    6:01 PM (1 hour ago) 6:01 PM
    to Konstantin Shcheglov, Brian Wilkerson, Paul Berry, Johnni Winther, dart-analys...@google.com, rev...@dartlang.org

    dart-...@luci-project-accounts.iam.gserviceaccount.com submitted the change

    Change information

    Commit message:
    AST. Implement DirectAssignment and UnqualifiedNameAssignmentTarget.
    Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
    Reviewed-by: Brian Wilkerson <brianwi...@google.com>
    Commit-Queue: Konstantin Shcheglov <sche...@google.com>
    Reviewed-by: Paul Berry <paul...@google.com>
    Files:
    • M pkg/analysis_server/lib/src/services/correction/dart/convert_to_switch_expression.dart
    • M pkg/analyzer/api.txt
    • M pkg/analyzer/lib/analysis_rule/rule_visitor_registry.g.dart
    • M pkg/analyzer/lib/dart/ast/ast.dart
    • M pkg/analyzer/lib/dart/ast/visitor.g.dart
    • M pkg/analyzer/lib/src/dart/analysis/driver.dart
    • M pkg/analyzer/lib/src/dart/analysis/index.dart
    • M pkg/analyzer/lib/src/dart/analysis/referenced_names.dart
    • M pkg/analyzer/lib/src/dart/analysis/search.dart
    • M pkg/analyzer/lib/src/dart/ast/ast.dart
    • M pkg/analyzer/lib/src/dart/ast/ast.g.dart
    • M pkg/analyzer/lib/src/dart/ast/element_locator.dart
    • M pkg/analyzer/lib/src/dart/ast/to_source_visitor.dart
    • M pkg/analyzer/lib/src/dart/constant/potentially_constant.dart
    • M pkg/analyzer/lib/src/dart/micro/utils.dart
    • M pkg/analyzer/lib/src/dart/resolver/assignment_expression_resolver.dart
    • M pkg/analyzer/lib/src/dart/resolver/flow_analysis_visitor.dart
    • M pkg/analyzer/lib/src/dart/resolver/property_element_resolver.dart
    • M pkg/analyzer/lib/src/dart/resolver/resolution_visitor.dart
    • M pkg/analyzer/lib/src/dart/resolver/this_lookup.dart
    • M pkg/analyzer/lib/src/diagnostic/diagnostic_factory.dart
    • M pkg/analyzer/lib/src/error/assignment_verifier.dart
    • M pkg/analyzer/lib/src/error/best_practices_verifier.dart
    • M pkg/analyzer/lib/src/error/const_argument_verifier.dart
    • M pkg/analyzer/lib/src/error/dead_code_verifier.dart
    • M pkg/analyzer/lib/src/error/element_usage_detector.dart
    • M pkg/analyzer/lib/src/error/unused_local_elements_verifier.dart
    • M pkg/analyzer/lib/src/error/use_result_verifier.dart
    • M pkg/analyzer/lib/src/fasta/ast_builder.dart
    • M pkg/analyzer/lib/src/generated/error_verifier.dart
    • M pkg/analyzer/lib/src/generated/resolver.dart
    • M pkg/analyzer/lib/src/generated/variable_type_provider.dart
    • M pkg/analyzer/lib/src/hint/sdk_constraint_verifier.dart
    • M pkg/analyzer/lib/src/lint/linter_visitor.g.dart
    • M pkg/analyzer/lib/src/summary2/ast_binary_reader.dart
    • M pkg/analyzer/lib/src/summary2/ast_binary_tag.dart
    • M pkg/analyzer/lib/src/summary2/ast_binary_writer.dart
    • M pkg/analyzer/lib/src/summary2/informative_data.dart
    • M pkg/analyzer/lib/src/test_utilities/find_node.dart
    • M pkg/analyzer/lib/src/util/ast_data_extractor.dart
    • M pkg/analyzer/lib/src/wolf/ir/ast_to_ir.dart
    • M pkg/analyzer/test/generated/collection_literal_parser_test.dart
    • M pkg/analyzer/test/generated/complex_parser_test.dart
    • M pkg/analyzer/test/generated/expression_parser_test.dart
    • M pkg/analyzer/test/generated/nnbd_parser_test.dart
    • M pkg/analyzer/test/generated/patterns_parser_test.dart
    • M pkg/analyzer/test/generated/recovery_parser_test.dart
    • M pkg/analyzer/test/generated/strong_mode_test.dart
    • M pkg/analyzer/test/generated/top_level_parser_test.dart
    • M pkg/analyzer/test/generated/utilities_test.dart
    • M pkg/analyzer/test/src/dart/analysis/index_test.dart
    • M pkg/analyzer/test/src/dart/analysis/search_test.dart
    • M pkg/analyzer/test/src/dart/ast/element_locator_test.dart
    • M pkg/analyzer/test/src/dart/ast/to_source_visitor_test.dart
    • M pkg/analyzer/test/src/dart/resolution/assignment_test.dart
    • M pkg/analyzer/test/src/dart/resolution/extension_method_test.dart
    • M pkg/analyzer/test/src/dart/resolution/function_reference_test.dart
    • M pkg/analyzer/test/src/dart/resolution/resolution.dart
    • M pkg/analyzer/test/src/diagnostics/deprecated_member_use_test.dart
    • M pkg/analyzer/test/src/diagnostics/invalid_use_of_internal_member_test.dart
    • M pkg/analyzer/test/src/diagnostics/null_safety_read_write_test.dart
    • M pkg/analyzer/test/src/diagnostics/sdk_version_since_test.dart
    • M pkg/analyzer/test/src/diagnostics/unused_element_test.dart
    • M pkg/analyzer/test/src/diagnostics/use_of_nullable_value_test.dart
    • M pkg/analyzer/test/src/fasta/recovery/missing_code_test.dart
    • M pkg/analyzer/test/src/summary/elements/const_test.dart
    • M pkg/analyzer/test/src/summary/resolved_ast_printer.dart
    • M pkg/analyzer/test/src/wolf/ir/ast_to_ir_test.dart
    Change size: XL
    Delta: 68 files changed, 2959 insertions(+), 412 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Paul Berry, +1 by Brian Wilkerson
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: sdk
    Gerrit-Branch: main
    Gerrit-Change-Id: I70d1826d5158922731dfb2967a81bc6bf1b167ad
    Gerrit-Change-Number: 530260
    Gerrit-PatchSet: 13
    Gerrit-Owner: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
    Gerrit-Reviewer: Johnni Winther <johnni...@google.com>
    Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Reviewer: Paul Berry <paul...@google.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages