Chromium Code Reviews| Index: pkg/meta/lib/meta.dart |
| =================================================================== |
| --- pkg/meta/lib/meta.dart (revision 26359) |
| +++ pkg/meta/lib/meta.dart (working copy) |
| @@ -46,3 +46,17 @@ |
| class _Override { |
| const _Override(); |
| } |
| + |
| +/** |
| + * An annotation used to mark a class that should be considered to implement |
| + * every possible getter, setter and method. Tools can use this annotation to |
| + * suppress warnings when there is no explicit implementation of a referenced |
| + * member. Tools should provide a hint if this annotation is applied to a class |
| + * that does not implement or inherit an implementation of the method |
| + * [:noSuchMethod:] (other than the implementation in [Object]). |
| + */ |
| +const proxy = const _Proxy(); |
| + |
|
gbracha
2013/08/20 17:39:32
This seems reasonable to me, though I'm not sure t
Brian Wilkerson
2013/08/20 17:48:29
Understood. I was just doing what Lars suggested.
|
| +class _Proxy { |
| + const _Proxy(); |
| +} |