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:
Konstantin Shcheglov 2017-09-30 01:25:15 +00:00 committed by commit-bot@chromium.org
parent b184f6a0e6
commit 6869702dae
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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: >