[M] Change in dart/sdk[main]: [linter] Allow omit_local_variable_types annotations for dot shorthands

0 views
Skip to first unread message

Nate Bosch (Gerrit)

unread,
Oct 15, 2026, 10:05:50 PM (12 days ago) Oct 15
to Brian Wilkerson, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Brian Wilkerson

Nate Bosch voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Brian Wilkerson
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: Ib1dd35c2fa149e47658c7994c4420c7b3ba06bc0
Gerrit-Change-Number: 565140
Gerrit-PatchSet: 1
Gerrit-Owner: Nate Bosch <nbo...@google.com>
Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Nate Bosch <nbo...@google.com>
Gerrit-Attention: Brian Wilkerson <brianwi...@google.com>
Gerrit-Comment-Date: Fri, 16 Oct 2026 02:05:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Brian Wilkerson (Gerrit)

unread,
Oct 27, 2026, 10:29:55 AM (19 hours ago) Oct 27
to Nate Bosch, Konstantin Shcheglov, Brian Wilkerson, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Konstantin Shcheglov and Nate Bosch

Brian Wilkerson added 1 comment on change 565140

Patchset-level comments
File-level comment, Patchset 8 (Latest):
Brian Wilkerson . resolved

Sorry for the long delay, I was ooo for a couple of weeks.

I agree that there's a bug here that needs to be fixed, but I don't like having to duplicate so much of the logic from the resolver about how context types flow through the language. This really feels like something that ought to be in the analyzer.

So I've added Konstantin to get his opinion and see whether we can make the situation better.

Open in Gerrit

Related details

Attention is currently required from:
  • Konstantin Shcheglov
  • Nate Bosch
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: Ib1dd35c2fa149e47658c7994c4420c7b3ba06bc0
Gerrit-Change-Number: 565140
Gerrit-PatchSet: 8
Gerrit-Owner: Nate Bosch <nbo...@google.com>
Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
Gerrit-Attention: Nate Bosch <nbo...@google.com>
Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
Gerrit-Comment-Date: Tue, 27 Oct 2026 14:29:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Nate Bosch (Gerrit)

unread,
Oct 27, 2026, 12:26:43 PM (17 hours ago) Oct 27
to Konstantin Shcheglov, Brian Wilkerson, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart-analys...@google.com, rev...@dartlang.org
Attention needed from Brian Wilkerson and Konstantin Shcheglov

Nate Bosch voted and added 1 comment on change 565140

Votes added by Nate Bosch <nbo...@google.com>

Auto-Submit+1

1 comment

Patchset-level comments
Brian Wilkerson . resolved

Sorry for the long delay, I was ooo for a couple of weeks.

I agree that there's a bug here that needs to be fixed, but I don't like having to duplicate so much of the logic from the resolver about how context types flow through the language. This really feels like something that ought to be in the analyzer.

So I've added Konstantin to get his opinion and see whether we can make the situation better.

Nate Bosch

There was also discussion years ago around potential deeper changes to the way this lint is implemented which might be worth considering a revisit if it could solve this too.

https://github.com/dart-lang/sdk/issues/59317

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: Ib1dd35c2fa149e47658c7994c4420c7b3ba06bc0
Gerrit-Change-Number: 565140
Gerrit-PatchSet: 8
Gerrit-Owner: Nate Bosch <nbo...@google.com>
Gerrit-Reviewer: Brian Wilkerson <brianwi...@google.com>
Gerrit-Reviewer: Konstantin Shcheglov <sche...@google.com>
Gerrit-Reviewer: Nate Bosch <nbo...@google.com>
Gerrit-Attention: Brian Wilkerson <brianwi...@google.com>
Gerrit-Attention: Konstantin Shcheglov <sche...@google.com>
Gerrit-Comment-Date: Tue, 27 Oct 2026 16:26:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Brian Wilkerson <brianwi...@google.com>
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages