[dart-lang/sdk] 51cdf2: DeCo. Report diag.duplicateDefinition for defining...

0 views
Skip to first unread message

Konstantin Scheglov

unread,
1:24 PM (7 hours ago) 1:24 PM
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: 51cdf271def6d95750eb1b1a44c72154d61f6dd8
https://github.com/dart-lang/sdk/commit/51cdf271def6d95750eb1b1a44c72154d61f6dd8
Author: Konstantin Shcheglov <sche...@google.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)

Changed paths:
M pkg/analyzer/lib/src/error/duplicate_definition_verifier.dart
M pkg/analyzer/test/src/diagnostics/duplicate_definition_test.dart
M tests/language/primary_constructors/wildcard_declaring_parameters_error_test.dart

Log Message:
-----------
DeCo. Report diag.duplicateDefinition for defining formal parameters with name '_'.

Change-Id: I6c8d9cbacb78efb17fd5b8603263deb3d65e6335
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/482660
Reviewed-by: Bob Nystrom <rnys...@google.com>
Reviewed-by: Johnni Winther <johnni...@google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/dart-lang/sdk/settings/notifications

Erik Ernst

unread,
2:49 PM (5 hours ago) 2:49 PM
to com...@dartlang.org
Branch: refs/heads/lkgr
Home: https://github.com/dart-lang/sdk
Commit: 51cdf271def6d95750eb1b1a44c72154d61f6dd8
https://github.com/dart-lang/sdk/commit/51cdf271def6d95750eb1b1a44c72154d61f6dd8
Author: Konstantin Shcheglov <sche...@google.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)

Changed paths:
M pkg/analyzer/lib/src/error/duplicate_definition_verifier.dart
M pkg/analyzer/test/src/diagnostics/duplicate_definition_test.dart
M tests/language/primary_constructors/wildcard_declaring_parameters_error_test.dart

Log Message:
-----------
DeCo. Report diag.duplicateDefinition for defining formal parameters with name '_'.

Change-Id: I6c8d9cbacb78efb17fd5b8603263deb3d65e6335
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/482660
Reviewed-by: Bob Nystrom <rnys...@google.com>
Reviewed-by: Johnni Winther <johnni...@google.com>


Commit: 0ec34ebde6ff5f0308335a39077790ca05c4270c
https://github.com/dart-lang/sdk/commit/0ec34ebde6ff5f0308335a39077790ca05c4270c
Author: Erik Ernst <eer...@google.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)

Changed paths:
M pkg/linter/messages.yaml

Log Message:
-----------
Mark the ..obvious.. lints as having `state: stable`

This CL changes the `state:` field of the lint documentation records in
pkg/linter/messages.yaml from `experimental` to `stable`.

The CL https://dart-review.googlesource.com/c/sdk/+/479841 was intended
to change the status, and it did remove a paragraph from the
documentation about the lints being experimental, but it was complete in
that it did not change the `state:` fields.

Change-Id: I986dfc28dc6a6943c760cbe129ee619d8162a613
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/482785
Reviewed-by: Samuel Rawlins <sraw...@google.com>
Commit-Queue: Samuel Rawlins <sraw...@google.com>


Compare: https://github.com/dart-lang/sdk/compare/e443b89f238c...0ec34ebde6ff
Reply all
Reply to author
Forward
0 new messages