enable provide_deprecation_message (#77106)
diff --git a/analysis_options.yaml b/analysis_options.yaml index 30c9dd5..8c7481e 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml
@@ -181,7 +181,7 @@ - prefer_spread_collections - prefer_typing_uninitialized_variables - prefer_void_to_null - # - provide_deprecation_message # not yet tested + - provide_deprecation_message # - public_member_api_docs # enabled on a case-by-case basis; see e.g. packages/analysis_options.yaml - recursive_getters # - sized_box_for_whitespace # not yet tested
diff --git a/dev/bots/test/analyze-test-input/root/packages/foo/deprecation.dart b/dev/bots/test/analyze-test-input/root/packages/foo/deprecation.dart index b2e83c8..9d74f5b 100644 --- a/dev/bots/test/analyze-test-input/root/packages/foo/deprecation.dart +++ b/dev/bots/test/analyze-test-input/root/packages/foo/deprecation.dart
@@ -26,7 +26,7 @@ ) void test4() { } -@deprecated // no message +@deprecated // ignore: provide_deprecation_message void test5() { } @Deprecated('Not the right syntax. This feature was deprecated after v1.2.3.')