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

Unified Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 2700843002: Use absolute URIs for LinkedDependency.uri/parts. (Closed)
Patch Set: Created 3 years, 10 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
Index: pkg/analyzer/lib/src/summary/idl.dart
diff --git a/pkg/analyzer/lib/src/summary/idl.dart b/pkg/analyzer/lib/src/summary/idl.dart
index e6f142dd8dc939dbc15f2fc73239d96d375406df..3389fee6f4c634f6797c63c226bbb3d6618f8781 100644
--- a/pkg/analyzer/lib/src/summary/idl.dart
+++ b/pkg/analyzer/lib/src/summary/idl.dart
@@ -596,18 +596,14 @@ enum IndexSyntheticElementKind {
*/
abstract class LinkedDependency extends base.SummaryClass {
/**
- * URI for the compilation units listed in the library's `part` declarations.
- * These URIs are relative to the importing library.
+ * Absolute URI for the compilation units listed in the library's `part`
+ * declarations, empty string for invalid URI.
*/
@Id(1)
List<String> get parts;
/**
- * The relative URI of the dependent library. This URI is relative to the
- * importing library, even if there are intervening `export` declarations.
- * So, for example, if `a.dart` imports `b/c.dart` and `b/c.dart` exports
- * `d/e.dart`, the URI listed for `a.dart`'s dependency on `e.dart` will be
- * `b/d/e.dart`.
+ * The absolute URI of the dependent library, e.g. `package:foo/bar.dart`.
*/
@Id(0)
String get uri;

Powered by Google App Engine
This is Rietveld 408576698