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

Unified Diff: sdk/lib/mirrors/mirrors.dart

Issue 27261003: Add mixin accessor. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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: sdk/lib/mirrors/mirrors.dart
===================================================================
--- sdk/lib/mirrors/mirrors.dart (revision 28620)
+++ sdk/lib/mirrors/mirrors.dart (working copy)
@@ -764,6 +764,14 @@
List<ClassMirror> get superinterfaces;
/**
+ * The mixin of this class.
+ * If this class is the result of a mixin application of the
+ * form S with M, returns a class mirror on M.
+ * Otherwise returns a class mirror on [reflectee].
ahe 2013/10/15 07:00:38 Otherwise returns this.
gbracha 2013/10/15 17:03:21 That is a stronger specification. In principle, yo
ahe 2013/10/16 07:28:39 Returning "this" is more accurate in case of subcl
+ */
+ ClassMirror get mixin;
+
+ /**
* An immutable map from names to mirrors for all members of
* this type.
*
« 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