mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
Deprecate @checked in package:meta, use covariant instead.
R=brianwilkerson@google.com, paulberry@google.com Bug: Change-Id: I024d15a804a394efbb3a982d6205f30d7385b89e Reviewed-on: https://dart-review.googlesource.com/9781 Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
parent
b184f6a0e6
commit
6869702dae
|
@ -54,6 +54,9 @@ const _AlwaysThrows alwaysThrows = const _AlwaysThrows();
|
|||
/// Indicates that this parameter may have a tighter type than the parameter on
|
||||
/// its superclass. The actual argument will be checked at runtime to ensure it
|
||||
/// is a subtype of the overridden parameter type.
|
||||
///
|
||||
/// DEPRECATED: Use the `covariant` modifier instead.
|
||||
@deprecated
|
||||
const _Checked checked = const _Checked();
|
||||
|
||||
/// Used to annotate a library, or any declaration that is part of the public
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: meta
|
||||
version: 1.1.2
|
||||
version: 1.1.3
|
||||
author: Dart Team <misc@dartlang.org>
|
||||
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/meta
|
||||
description: >
|
||||
|
|
Loading…
Reference in a new issue