Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(933)

Unified Diff: sdk/lib/_collection_dev/collection_dev.dart

Issue 27523002: Add "deprecated" to the standard library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_collection_dev/collection_dev.dart
diff --git a/sdk/lib/_collection_dev/collection_dev.dart b/sdk/lib/_collection_dev/collection_dev.dart
index d82d903ee443c9f6294ccd9976aa2065f4b73dac..fa2ccb70a637db5b85d6822fb4eb51894d800935 100644
--- a/sdk/lib/_collection_dev/collection_dev.dart
+++ b/sdk/lib/_collection_dev/collection_dev.dart
@@ -11,6 +11,33 @@ import 'dart:core' as core;
import 'dart:math' show Random;
import 'dart:collection' show HashSet;
+// This is a hack to make @deprecated work in dart:io. Don't remove or use this,
+// unless coordinated with either me or the core library team. Thanks!
+// When complete, no part of the standard libraries should be deprecated, and
+// this export can be removed.
+// TODO(ajohnsen): Remove at the 11th of August 2013.
+// TODO(ajohnsen): Remove hide in:
+// tools/dom/templates/html/dart2js/html_dart2js.darttemplate
+// tools/dom/templates/html/dart2js/svg_dart2js.darttemplate
+// tools/dom/templates/html/dart2js/web_audio_dart2js.darttemplate
+// tools/dom/templates/html/dart2js/web_gl_dart2js.darttemplate
+// tools/dom/templates/html/dart2js/web_sql_dart2js.darttemplate
+// tools/dom/templates/html/dartium/html_dartium.darttemplate
+// tools/dom/templates/html/dartium/svg_dartium.darttemplate
+// tools/dom/templates/html/dartium/web_audio_dartium.darttemplate
+// tools/dom/templates/html/dartium/web_gl_dartium.darttemplate
+// tools/dom/templates/html/dartium/web_sql_dartium.darttemplate
+// sdk/lib/core/regexp.dart
+// TODO(floitsch): also used in dart:async until end of September for
+// deprecation of runZonedExperimental.
+// TODO(floitsch): also used in dart:json and dart:utf until middle of October
+// for deprecation of json and utf libraries.
+// TODO(floitsch): and dart:async until middle of October for deprecation of
+// getAttachedStackTrace.
+// TODO(floitsch): and dart:async until end of October for deprecation of
+// runAsync.
+export 'dart:annotation' show deprecated;
+
part 'arrays.dart';
part 'iterable.dart';
part 'list.dart';

Powered by Google App Engine
This is Rietveld 408576698