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

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

Issue 392983006: Specifiy MethodMirror.isStatic is terms of whether 'this' is permitted. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 | tests/lib/lib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/mirrors/mirrors.dart
diff --git a/sdk/lib/mirrors/mirrors.dart b/sdk/lib/mirrors/mirrors.dart
index 6d7717bd9eea841ff240f5e3f39fce1b22cba1cb..3275884443ae0058fc912cb2e1a17d166e943922 100644
--- a/sdk/lib/mirrors/mirrors.dart
+++ b/sdk/lib/mirrors/mirrors.dart
@@ -900,10 +900,10 @@ abstract class MethodMirror implements DeclarationMirror {
List<ParameterMirror> get parameters;
/**
- * Is the reflectee static?
+ * A function is considered non-static iff it is permited to refer to 'this'.
*
- * For the purposes of the mirrors library, a top-level function is
- * considered static.
+ * Note that generative constructors are considered non-static, whereas
+ * factory constructors are considered static.
*/
bool get isStatic;
« no previous file with comments | « no previous file | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698