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

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

Issue 14251005: Change url to uri on LibraryMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments + test status updated. Created 7 years, 8 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 | « runtime/lib/mirrors_impl.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 12c06a2034b4884c53e2e6d3c29b141001c8adbb..981191a0eef3475a423dd6c1778460e221a72e87 100644
--- a/sdk/lib/mirrors/mirrors.dart
+++ b/sdk/lib/mirrors/mirrors.dart
@@ -16,6 +16,7 @@ library dart.mirrors;
import 'dart:async';
import 'dart:isolate';
+import 'dart:uri';
/**
* A [MirrorSystem] is the main interface used to reflect on a set of
@@ -336,13 +337,9 @@ abstract class ClosureMirror implements InstanceMirror {
*/
abstract class LibraryMirror implements DeclarationMirror, ObjectMirror {
/**
- * The url of the library.
- *
- * TODO(turnidge): Document where this url comes from. Will this
- * value be sensible?
+ * The absolute uri of the library.
*/
- // TODO(ahe): Change type to [Uri], rename to "uri"?
- String get url;
+ Uri get uri;
/**
* An immutable map from from names to mirrors for all members in
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698