From 3d1cd6a536943c4b4367393205799823bc7a120a Mon Sep 17 00:00:00 2001 From: Brian Wilkerson Date: Fri, 9 Dec 2022 19:49:10 +0000 Subject: [PATCH] Remove incomplete and inappropriate text from documentation Change-Id: Ie3ecedcaba03ea3db2b5cb724d49add815d9f5be Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/274522 Commit-Queue: Brian Wilkerson Reviewed-by: Konstantin Shcheglov --- pkg/analyzer/messages.yaml | 4 ---- pkg/analyzer/tool/diagnostics/diagnostics.md | 4 ---- 2 files changed, 8 deletions(-) diff --git a/pkg/analyzer/messages.yaml b/pkg/analyzer/messages.yaml index cd9a94069af..38eba4892a0 100644 --- a/pkg/analyzer/messages.yaml +++ b/pkg/analyzer/messages.yaml @@ -18637,10 +18637,6 @@ HintCode: a.Library(); } ``` - - If type arguments shouldn't be required for the class, then mark the class - with the `[optionalTypeArgs][meta-optionalTypeArgs]` annotation (from - `package:meta`): IMPORT_OF_LEGACY_LIBRARY_INTO_NULL_SAFE: problemMessage: "The library '{0}' is legacy, and shouldn't be imported into a null safe library." correctionMessage: Try migrating the imported library. diff --git a/pkg/analyzer/tool/diagnostics/diagnostics.md b/pkg/analyzer/tool/diagnostics/diagnostics.md index 5efed48883d..b7ddcc920ff 100644 --- a/pkg/analyzer/tool/diagnostics/diagnostics.md +++ b/pkg/analyzer/tool/diagnostics/diagnostics.md @@ -7465,10 +7465,6 @@ void f() { } {% endprettify %} -If type arguments shouldn't be required for the class, then mark the class -with the `[optionalTypeArgs][meta-optionalTypeArgs]` annotation (from -`package:meta`): - ### import_internal_library _The library '{0}' is internal and can't be imported._