Index: pkg/meta/lib/meta.dart |
diff --git a/pkg/meta/lib/meta.dart b/pkg/meta/lib/meta.dart |
index e3e4a250753c5b613716ce9f3c75b2298a663389..0c45644b1d62904fc42f2389300c4b113c298b58 100644 |
--- a/pkg/meta/lib/meta.dart |
+++ b/pkg/meta/lib/meta.dart |
@@ -5,7 +5,7 @@ |
/** |
* Constants for use in metadata annotations such as |
* `@deprecated`, `@override`, and `@proxy`. |
- * |
+ * |
* Annotations provide semantic information |
* that tools can use to provide a better user experience. |
* For example, an IDE might not autocomplete |
@@ -21,17 +21,7 @@ |
*/ |
library meta; |
-/** |
- * An annotation used to mark a class, field, getter, setter, method, top-level |
- * variable, or top-level function as one that should no longer be used. Tools |
- * can use this annotation to provide a warning on references to the marked |
- * element. |
- */ |
-const deprecated = const _Deprecated(); |
- |
-class _Deprecated { |
- const _Deprecated(); |
-} |
+export "dart:annotation" show deprecated; |
/** |
* An annotation used to mark an instance member (method, field, getter or |
@@ -57,4 +47,4 @@ const proxy = const _Proxy(); |
class _Proxy { |
const _Proxy(); |
-} |
+} |