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

Side by Side Diff: sdk/lib/core/annotations.dart

Issue 3007853003: Remove @proxy from the specification. Deprecate the annotation. (Closed)
Patch Set: Created 3 years, 3 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 unified diff | Download patch
« no previous file with comments | « docs/language/dartLangSpec.tex ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.core; 5 part of dart.core;
6 6
7 /** 7 /**
8 * The annotation `@Deprecated('expires when')` marks a feature as deprecated. 8 * The annotation `@Deprecated('expires when')` marks a feature as deprecated.
9 * 9 *
10 * The annotation `@deprecated` is a shorthand for deprecating until 10 * The annotation `@deprecated` is a shorthand for deprecating until
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 * `noSuchMethod` calls gracefully. 143 * `noSuchMethod` calls gracefully.
144 * 144 *
145 * A class that marked as `@proxy` should override the `noSuchMethod` 145 * A class that marked as `@proxy` should override the `noSuchMethod`
146 * declared on [Object]. 146 * declared on [Object].
147 * 147 *
148 * The intent of the `@proxy` notation is to create objects that implement a 148 * The intent of the `@proxy` notation is to create objects that implement a
149 * type (or multiple types) that are not known at compile time. If the types 149 * type (or multiple types) that are not known at compile time. If the types
150 * are known at compile time, a class can be written that implements these 150 * are known at compile time, a class can be written that implements these
151 * types. 151 * types.
152 */ 152 */
153 @deprecated
153 const Object proxy = const _Proxy(); 154 const Object proxy = const _Proxy();
OLDNEW
« no previous file with comments | « docs/language/dartLangSpec.tex ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698