| OLD | NEW |
| 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 "core.dart"; | 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 |
| 11 * an unspecified "next release". | 11 * an unspecified "next release". |
| 12 * | 12 * |
| 13 * The intent of the `@Deprecated` annotation is to inform users of a feature | 13 * The intent of the `@Deprecated` annotation is to inform users of a feature |
| 14 * that they should change their code, even if it is currently still working | 14 * that they should change their code, even if it is currently still working |
| 15 * correctly. | 15 * correctly. |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 const Object proxy = const _Proxy(); | 153 const Object proxy = const _Proxy(); |
| OLD | NEW |