+implicit_reopen link

Change-Id: I7e4468ab77b86437bd0483698cf2be873b9f57c5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/319002
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
pq 2023-08-09 15:43:19 +00:00 committed by Commit Queue
parent b11340bc4a
commit eb2af1a41a

View file

@ -268,8 +268,6 @@ const _OptionalTypeArgs optionalTypeArgs = _OptionalTypeArgs();
// "referenced."
const _Protected protected = _Protected();
// todo(pq): add a link to `implicit_reopen` once implemented.
/// Annotation for intentionally loosening restrictions on subtyping that would
/// otherwise cause lint warnings to be produced by the `implicit_reopen` lint.
///
@ -287,9 +285,10 @@ const _Protected protected = _Protected();
/// `final` based on the modifiers of its superinterfaces
///
/// A declaration annotated with `@reopen` will suppress warnings from the
/// `implicit_reopen` lint. That lint will otherwise warn when a subtype has
/// restrictions that are not sufficient to enforce the restrictions declared
/// by class modifiers on one or more superinterfaces.
/// [`implicit_reopen`](https://dart.dev/tools/linter-rules/implicit_reopen)
/// lint. That lint will otherwise warn when a subtype has restrictions that are
/// not sufficient to enforce the restrictions declared by class modifiers on
/// one or more superinterfaces.
///
/// In addition, tools, such as the analyzer, can provide feedback if
///