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

Unified Diff: lib/mirrors/mirrors.dart

Issue 11118020: dart2js_mirrors_test added (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: TODO added Created 8 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 | « lib/compiler/implementation/lib/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: lib/mirrors/mirrors.dart
diff --git a/lib/mirrors/mirrors.dart b/lib/mirrors/mirrors.dart
index 88d9a7db28cca8ce2908db5bc7556a12a94cbee6..01f915b5567193d1fc0dd2a44cfa1ebbc892f658 100644
--- a/lib/mirrors/mirrors.dart
+++ b/lib/mirrors/mirrors.dart
@@ -55,6 +55,7 @@ abstract class MirrorSystem {
/**
* Returns a [MirrorSystem] for the current isolate.
*/
+// TODO(johnniwinther): Implement this as an external function.
MirrorSystem currentMirrorSystem() {
return _Mirrors.currentMirrorSystem();
}
@@ -63,6 +64,7 @@ MirrorSystem currentMirrorSystem() {
* Creates a [MirrorSystem] for the isolate which is listening on
* the [SendPort].
*/
+// TODO(johnniwinther): Implement this as an external function.
Future<MirrorSystem> mirrorSystemOf(SendPort port) {
return _Mirrors.mirrorSystemOf(port);
}
@@ -73,6 +75,7 @@ Future<MirrorSystem> mirrorSystemOf(SendPort port) {
* This only works if this mirror system is associated with the
* current running isolate.
*/
+// TODO(johnniwinther): Implement this as an external function.
InstanceMirror reflect(Object reflectee) {
return _Mirrors.reflect(reflectee);
}
« no previous file with comments | « lib/compiler/implementation/lib/mirrors.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698