| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /** | 5 /** |
| 6 * This library contains the definitions of annotations that provide additional | 6 * This library contains the definitions of annotations that provide additional |
| 7 * semantic information about the program being annotated. These annotations are | 7 * semantic information about the program being annotated. These annotations are |
| 8 * intended to be used by tools to provide a better user experience. | 8 * intended to be used by tools to provide a better user experience. |
| 9 */ | 9 */ |
| 10 #library('meta'); | 10 #library('meta'); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 /** | 24 /** |
| 25 * An annotation used to mark an instance member (method, field, getter or | 25 * An annotation used to mark an instance member (method, field, getter or |
| 26 * setter) as overriding an inherited class member. Tools can use this | 26 * setter) as overriding an inherited class member. Tools can use this |
| 27 * annotation to provide a warning if there is no overridden member. | 27 * annotation to provide a warning if there is no overridden member. |
| 28 */ | 28 */ |
| 29 const override = const _Override(); | 29 const override = const _Override(); |
| 30 | 30 |
| 31 class _Override { | 31 class _Override { |
| 32 const _Override(); | 32 const _Override(); |
| 33 } | 33 } |
| OLD | NEW |