| commit | ac26e94fff424af41e063fe464e83f1ca088835e | [log] [tgz] |
|---|---|---|
| author | Sam Rawlins <srawlins@google.com> | Fri May 16 17:32:00 2025 -0700 |
| committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 16 17:32:00 2025 -0700 |
| tree | 82defe5669f335278865c9b367d25730c5ff275f | |
| parent | 261f8199afca747d4e89c1dc0b2348cff81e734d [diff] |
linter: remove unused State.getDescription Change-Id: Ia241ed01ad81cfdc399cf3011e3b4f6d43113950 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428926 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
diff --git a/pkg/analyzer/lib/src/lint/state.dart b/pkg/analyzer/lib/src/lint/state.dart index 5e7e4a2..cf07c00 100644 --- a/pkg/analyzer/lib/src/lint/state.dart +++ b/pkg/analyzer/lib/src/lint/state.dart
@@ -92,11 +92,6 @@ /// A short description, suitable for displaying in documentation or a /// diagnostic message. String get label; - - /// An optional description that can be used in documentation or diagnostic - /// reporting. - @Deprecated('Not set by any lint rule, remove any usages.') - String? getDescription() => null; } extension StateExtension on State {