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

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

Issue 52953002: Hide ClosureMirror.findInContext behind a flag for 1.0. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase 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 | « sdk/lib/_internal/lib/js_mirrors.dart ('k') | 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 12375dda6a6ec09f2ddcb2e2f8861dd4aa0218a4..10639522becc3ad14a2610ebb943d5ac225139e2 100644
--- a/sdk/lib/mirrors/mirrors.dart
+++ b/sdk/lib/mirrors/mirrors.dart
@@ -539,20 +539,7 @@ abstract class ClosureMirror implements InstanceMirror {
[Map<Symbol, dynamic> namedArguments]);
/**
- * Looks up the value of a name in the scope of the closure. The
- * result is a mirror on that value.
- *
- * Let *s* be the contents of the string used to construct the symbol [name].
- *
- * If the expression *s* occurs within the source code of the reflectee,
- * and if any such occurrence refers to a declaration outside the reflectee,
- * then let *v* be the result of evaluating the expression *s* at such
- * an occurrence.
- * If *s = this*, and the reflectee was defined within the instance scope of
- * an object *o*, then let *v* be *o*.
- *
- * The returned value is the result of invoking the method [reflect] on
- * *v*.
+ * Not yet supported. Calling this method throws an [UnsupportedError].
*/
InstanceMirror findInContext(Symbol name, {ifAbsent: null});
}
« no previous file with comments | « sdk/lib/_internal/lib/js_mirrors.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698