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

Unified Diff: pkg/meta/lib/meta.dart

Issue 23172011: Implement the proxy annotation (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698