mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
+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:
parent
b11340bc4a
commit
eb2af1a41a
|
@ -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
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue