[S] Change in dart/sdk[main]: [analysis_server] Include declaring parameters in member declarations...

0 views
Skip to first unread message

Danny Tuppeny (Gerrit)

unread,
Mar 26, 2026, 8:50:35 AM (4 days ago) Mar 26
to Brian Wilkerson, Konstantin Shcheglov, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Brian Wilkerson and Konstantin Shcheglov

Danny Tuppeny added 4 comments

File pkg/analysis_server/test/search/member_declarations_test.dart
Line 135, Patchset 1 (Latest): Future<void> test_class_primaryConstructor_fields() async {
addTestFile('''
class A(final int foo);
class B.named(final int foo);
class X(int foo); // Not declaring
''');
Danny Tuppeny . unresolved

I'm assuming that members declared in primary constructors should show up in the member declarations list, but I don't know if that assumption is correct.

I'm also unsure if this functionality is actually used - VS Code doesn't use it, and if I'm understanding https://github.com/dart-lang/sdk/issues/60043#issuecomment-3883948834 correctly, IntelliJ might not either?

Line 143, Patchset 1 (Latest): // TODO(dantup): Is parameter the right thing here? We get it because
// we use .nonSynthetic on the field (because otherwise we crash trying to
// get the nameOffset) and that gives us a parameter in the constructor.
assertHasDeclaration(ElementKind.PARAMETER, 'A');
assertHasDeclaration(ElementKind.PARAMETER, 'B.named');
Danny Tuppeny . unresolved

I'm unsure about this. They are parameters of the constructor in the code, but they're showing up in the results because they are fields/getters.

File pkg/analyzer/lib/src/dart/analysis/defined_names.dart
Line 33, Patchset 1 (Latest): // Is declaring parameter.
.where((parameter) => parameter.finalOrVarKeyword != null)
Danny Tuppeny . unresolved

Is this the correct way to detect these parameters? I thought there might be something more explicit, but I couldn't spot anything.

(again, I'm not certain about putting these parameter names in `classMemberNames`, but without it the search would never look in these files)

File pkg/analyzer/lib/src/dart/analysis/search.dart
Line 353, Patchset 1 (Latest): element.fields.where((e) => e.isOriginDeclaration).forEach(addElement);
element.fields
.where((e) => e.isOriginDeclaringFormalParameter)
.map((element) => element.nonSynthetic)
.forEach(addElement);
Danny Tuppeny . unresolved

Is there a cleaner way to get the declaring parameters than this?

Open in Gerrit

Related details

Attention is currently required from:
  • Brian Wilkerson
  • 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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
Gerrit-Change-Number: 490861
Gerrit-PatchSet: 1
Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
Gerrit-Attention: Brian Wilkerson <brianwi...@google.com>
Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
Gerrit-Comment-Date: Thu, 26 Mar 2026 12:50:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Brian Wilkerson (Gerrit)

unread,
Mar 26, 2026, 10:19:39 AM (4 days ago) Mar 26
to Danny Tuppeny, Brian Wilkerson, Konstantin Shcheglov, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Danny Tuppeny and Konstantin Shcheglov

Brian Wilkerson voted and added 2 comments

Votes added by Brian Wilkerson

Code-Review+1

2 comments

File pkg/analysis_server/test/search/member_declarations_test.dart
Line 135, Patchset 1 (Latest): Future<void> test_class_primaryConstructor_fields() async {
addTestFile('''
class A(final int foo);
class B.named(final int foo);
class X(int foo); // Not declaring
''');
Danny Tuppeny . unresolved

I'm assuming that members declared in primary constructors should show up in the member declarations list, but I don't know if that assumption is correct.

I'm also unsure if this functionality is actually used - VS Code doesn't use it, and if I'm understanding https://github.com/dart-lang/sdk/issues/60043#issuecomment-3883948834 correctly, IntelliJ might not either?

Brian Wilkerson

Yes, the fields declared by a declaring parameter should show up.

Line 143, Patchset 1 (Latest): // TODO(dantup): Is parameter the right thing here? We get it because
// we use .nonSynthetic on the field (because otherwise we crash trying to
// get the nameOffset) and that gives us a parameter in the constructor.
assertHasDeclaration(ElementKind.PARAMETER, 'A');
assertHasDeclaration(ElementKind.PARAMETER, 'B.named');
Danny Tuppeny . unresolved

I'm unsure about this. They are parameters of the constructor in the code, but they're showing up in the results because they are fields/getters.

Brian Wilkerson

We should be reporting them the same way we report fields. It's reasonable to use `nonSynthetic` to get the offset, but not to get the element kind.

Open in Gerrit

Related details

Attention is currently required from:
  • Danny Tuppeny
  • Konstantin Shcheglov
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement 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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
    Gerrit-Change-Number: 490861
    Gerrit-PatchSet: 1
    Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
    Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
    Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Attention: Danny Tuppeny <da...@tuppeny.com>
    Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
    Gerrit-Comment-Date: Thu, 26 Mar 2026 14:19:35 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Danny Tuppeny <da...@tuppeny.com>
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Danny Tuppeny (Gerrit)

    unread,
    Mar 26, 2026, 10:48:57 AM (4 days ago) Mar 26
    to Brian Wilkerson, Konstantin Shcheglov, dart-analys...@google.com, rev...@dartlang.org
    Attention needed from Brian Wilkerson and Konstantin Shcheglov

    Danny Tuppeny added 2 comments

    File pkg/analysis_server/test/search/member_declarations_test.dart
    Line 135, Patchset 1: Future<void> test_class_primaryConstructor_fields() async {

    addTestFile('''
    class A(final int foo);
    class B.named(final int foo);
    class X(int foo); // Not declaring
    ''');
    Danny Tuppeny . resolved

    I'm assuming that members declared in primary constructors should show up in the member declarations list, but I don't know if that assumption is correct.

    I'm also unsure if this functionality is actually used - VS Code doesn't use it, and if I'm understanding https://github.com/dart-lang/sdk/issues/60043#issuecomment-3883948834 correctly, IntelliJ might not either?

    Brian Wilkerson

    Yes, the fields declared by a declaring parameter should show up.

    Danny Tuppeny

    Acknowledged

    Line 143, Patchset 1: // TODO(dantup): Is parameter the right thing here? We get it because

    // we use .nonSynthetic on the field (because otherwise we crash trying to
    // get the nameOffset) and that gives us a parameter in the constructor.
    assertHasDeclaration(ElementKind.PARAMETER, 'A');
    assertHasDeclaration(ElementKind.PARAMETER, 'B.named');
    Danny Tuppeny . resolved

    I'm unsure about this. They are parameters of the constructor in the code, but they're showing up in the results because they are fields/getters.

    Brian Wilkerson

    We should be reporting them the same way we report fields. It's reasonable to use `nonSynthetic` to get the offset, but not to get the element kind.

    Danny Tuppeny

    sgtm, fixed! This also changed the container from `B.named` here to `B` since it's a field in the class, not a parameter in the constructor. This feels correct to me.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Brian Wilkerson
    • 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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
      Gerrit-Change-Number: 490861
      Gerrit-PatchSet: 2
      Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
      Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
      Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
      Gerrit-Attention: Brian Wilkerson <brianwi...@google.com>
      Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
      Gerrit-Comment-Date: Thu, 26 Mar 2026 14:48:52 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Brian Wilkerson <brianwi...@google.com>
      Comment-In-Reply-To: Danny Tuppeny <da...@tuppeny.com>
      unsatisfied_requirement
      open
      diffy

      Konstantin Shcheglov (Gerrit)

      unread,
      Mar 26, 2026, 2:24:17 PM (4 days ago) Mar 26
      to Danny Tuppeny, Brian Wilkerson, dart-analys...@google.com, rev...@dartlang.org
      Attention needed from Brian Wilkerson and Danny Tuppeny

      Konstantin Shcheglov added 2 comments

      File pkg/analyzer/lib/src/dart/analysis/defined_names.dart
      Line 33, Patchset 1: // Is declaring parameter.

      .where((parameter) => parameter.finalOrVarKeyword != null)
      Danny Tuppeny . unresolved

      Is this the correct way to detect these parameters? I thought there might be something more explicit, but I couldn't spot anything.

      (again, I'm not certain about putting these parameter names in `classMemberNames`, but without it the search would never look in these files)

      Konstantin Shcheglov

      Nope, this is the way, the same as `FragmentBuilder` does it.

      I decided to take over this.
      https://dart-review.googlesource.com/c/sdk/+/490942

      File pkg/analyzer/lib/src/dart/analysis/search.dart
      Line 353, Patchset 2 (Latest): element.fields.where((e) => e.isOriginDeclaration).forEach(addElement);
      element.fields
      .where((e) => e.isOriginDeclaringFormalParameter)
      .forEach(addElement);
      Konstantin Shcheglov . unresolved

      Probably better to have single `element.fields` with ORed filter.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Brian Wilkerson
      • Danny Tuppeny
      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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
      Gerrit-Change-Number: 490861
      Gerrit-PatchSet: 2
      Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
      Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
      Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
      Gerrit-Attention: Brian Wilkerson <brianwi...@google.com>
      Gerrit-Attention: Danny Tuppeny <da...@tuppeny.com>
      Gerrit-Comment-Date: Thu, 26 Mar 2026 18:24:14 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Danny Tuppeny <da...@tuppeny.com>
      unsatisfied_requirement
      open
      diffy

      Danny Tuppeny (Gerrit)

      unread,
      Mar 26, 2026, 3:28:48 PM (4 days ago) Mar 26
      to Brian Wilkerson, Konstantin Shcheglov, dart-analys...@google.com, rev...@dartlang.org
      Attention needed from Brian Wilkerson and Konstantin Shcheglov

      Danny Tuppeny added 3 comments

      Patchset-level comments
      File-level comment, Patchset 4 (Latest):
      Danny Tuppeny . resolved

      This won't be able to land until Konstantin's change at https://dart-review.googlesource.com/c/sdk/+/490942 has, but it should should still pass the bots etc. as it's based on top of that CL.

      File pkg/analyzer/lib/src/dart/analysis/defined_names.dart
      Line 33, Patchset 1: // Is declaring parameter.
      .where((parameter) => parameter.finalOrVarKeyword != null)
      Danny Tuppeny . resolved

      Is this the correct way to detect these parameters? I thought there might be something more explicit, but I couldn't spot anything.

      (again, I'm not certain about putting these parameter names in `classMemberNames`, but without it the search would never look in these files)

      Konstantin Shcheglov

      Nope, this is the way, the same as `FragmentBuilder` does it.

      I decided to take over this.
      https://dart-review.googlesource.com/c/sdk/+/490942

      Danny Tuppeny

      Great, thanks! I've removed these parts of my change and based it on your CL.

      File pkg/analyzer/lib/src/dart/analysis/search.dart
      Line 353, Patchset 2: element.fields.where((e) => e.isOriginDeclaration).forEach(addElement);

      element.fields
      .where((e) => e.isOriginDeclaringFormalParameter)
      .forEach(addElement);
      Konstantin Shcheglov . resolved

      Probably better to have single `element.fields` with ORed filter.

      Danny Tuppeny

      Thanks, fixed - originally I had `.nonSynthetic` on this branch but forgot to recombine them when I removed that.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Brian Wilkerson
      • 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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
      Gerrit-Change-Number: 490861
      Gerrit-PatchSet: 4
      Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
      Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
      Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
      Gerrit-Attention: Brian Wilkerson <brianwi...@google.com>
      Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
      Gerrit-Comment-Date: Thu, 26 Mar 2026 19:28:44 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Danny Tuppeny <da...@tuppeny.com>
      Comment-In-Reply-To: Konstantin Shcheglov <sche...@google.com>
      unsatisfied_requirement
      open
      diffy

      Brian Wilkerson (Gerrit)

      unread,
      Mar 26, 2026, 3:52:02 PM (4 days ago) Mar 26
      to Danny Tuppeny, Brian Wilkerson, Konstantin Shcheglov, dart-analys...@google.com, rev...@dartlang.org
      Attention needed from Danny Tuppeny and Konstantin Shcheglov

      Brian Wilkerson voted

      Code-Review+1
      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Danny Tuppeny
      • Konstantin Shcheglov
      Submit Requirements:
        • requirement is not satisfiedCode-Owners
        • requirement 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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
        Gerrit-Change-Number: 490861
        Gerrit-PatchSet: 4
        Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
        Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
        Gerrit-Attention: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
        Gerrit-Comment-Date: Thu, 26 Mar 2026 19:51:59 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Danny Tuppeny (Gerrit)

        unread,
        Mar 26, 2026, 4:00:49 PM (4 days ago) Mar 26
        to Commit Queue, Brian Wilkerson, Konstantin Shcheglov, dart-analys...@google.com, rev...@dartlang.org
        Attention needed from Konstantin Shcheglov

        Danny Tuppeny added 1 comment

        Patchset-level comments
        Danny Tuppeny . resolved

        Note: We should ensure this doesn't get +2'd before Konstantin's related change is ready. I noticed that it has been approved (and is therefore "submitable") but has an outstanding comment. Because this change is based on top of it, I suspect trying to commit this will also commit that.

        (In hindsight, I probably should've waited for that change and not rebased this on top of it 🙃)

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Konstantin Shcheglov
        Submit Requirements:
        • requirement is not satisfiedCode-Owners
        • requirement 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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
        Gerrit-Change-Number: 490861
        Gerrit-PatchSet: 4
        Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
        Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
        Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
        Gerrit-Comment-Date: Thu, 26 Mar 2026 20:00:44 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Danny Tuppeny (Gerrit)

        unread,
        Mar 27, 2026, 1:48:50 PM (3 days ago) Mar 27
        to Commit Queue, Brian Wilkerson, Konstantin Shcheglov, dart-analys...@google.com, rev...@dartlang.org
        Attention needed from Konstantin Shcheglov

        Danny Tuppeny added 1 comment

        Patchset-level comments
        Danny Tuppeny . resolved

        Note: We should ensure this doesn't get +2'd before Konstantin's related change is ready. I noticed that it has been approved (and is therefore "submitable") but has an outstanding comment. Because this change is based on top of it, I suspect trying to commit this will also commit that.

        (In hindsight, I probably should've waited for that change and not rebased this on top of it 🙃)

        Danny Tuppeny

        That change landed, so this is fine now (although @sche...@google.com it requires your review for the rebase and addressing your comment).

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Konstantin Shcheglov
        Submit Requirements:
        • requirement is not satisfiedCode-Owners
        • requirement 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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
        Gerrit-Change-Number: 490861
        Gerrit-PatchSet: 5
        Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
        Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
        Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
        Gerrit-Comment-Date: Fri, 27 Mar 2026 17:48:46 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Danny Tuppeny <da...@tuppeny.com>
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Konstantin Shcheglov (Gerrit)

        unread,
        Mar 28, 2026, 12:34:50 PM (2 days ago) Mar 28
        to Danny Tuppeny, Commit Queue, Brian Wilkerson, dart-analys...@google.com, rev...@dartlang.org
        Attention needed from Danny Tuppeny

        Konstantin Shcheglov voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Danny Tuppeny
        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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
        Gerrit-Change-Number: 490861
        Gerrit-PatchSet: 5
        Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
        Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
        Gerrit-Attention: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Comment-Date: Sat, 28 Mar 2026 16:34:47 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Brian Wilkerson (Gerrit)

        unread,
        Mar 28, 2026, 1:22:39 PM (2 days ago) Mar 28
        to Danny Tuppeny, Brian Wilkerson, Konstantin Shcheglov, Commit Queue, dart-analys...@google.com, rev...@dartlang.org
        Attention needed from Danny Tuppeny

        Brian Wilkerson voted Commit-Queue+2

        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Danny Tuppeny
        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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
        Gerrit-Change-Number: 490861
        Gerrit-PatchSet: 5
        Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
        Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
        Gerrit-Attention: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Comment-Date: Sat, 28 Mar 2026 17:22:35 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Commit Queue (Gerrit)

        unread,
        Mar 28, 2026, 1:50:09 PM (2 days ago) Mar 28
        to Danny Tuppeny, Brian Wilkerson, Konstantin Shcheglov, dart-analys...@google.com, rev...@dartlang.org

        Commit Queue submitted the change

        Change information

        Commit message:
        [analysis_server] Include declaring parameters in member declarations search
        Change-Id: I81b8a3ba4f991a56fadd758034aebf06e55748c1
        Commit-Queue: Brian Wilkerson <brianwi...@google.com>
        Reviewed-by: Brian Wilkerson <brianwi...@google.com>
        Reviewed-by: Konstantin Shcheglov <sche...@google.com>
        Files:
        • M pkg/analysis_server/lib/src/services/search/search_engine_internal.dart
        • M pkg/analysis_server/test/search/member_declarations_test.dart
        • M pkg/analyzer/lib/src/dart/analysis/search.dart
        Change size: S
        Delta: 3 files changed, 21 insertions(+), 2 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Konstantin Shcheglov, +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: I81b8a3ba4f991a56fadd758034aebf06e55748c1
        Gerrit-Change-Number: 490861
        Gerrit-PatchSet: 6
        Gerrit-Owner: Danny Tuppeny <da...@tuppeny.com>
        Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
        Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
        open
        diffy
        satisfied_requirement
        Reply all
        Reply to author
        Forward
        0 new messages