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

Unified Diff: pkg/kernel/lib/ast.dart

Issue 2532053005: Store library paths relative to a given application root folder. (Closed)
Patch Set: Revert changes to testcase baseline Created 4 years, 1 month 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 | « pkg/kernel/lib/application_root.dart ('k') | pkg/kernel/lib/repository.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index 0cece08e0f1856084f0100c11751704957f7e3b4..862de37bd3bd6a27684f45a3f9bec651359d7aeb 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -157,9 +157,11 @@ abstract class TreeNode extends Node {
// ------------------------------------------------------------------------
class Library extends TreeNode implements Comparable<Library> {
- /// An absolute import path to this library.
+ /// An import path to this library.
///
- /// The [Uri] should have the `dart`, `package`, or `file` scheme.
+ /// The [Uri] should have the `dart`, `package`, or `app` scheme.
+ ///
+ /// If the URI has the `app` scheme, it is relative to the application root.
Uri importUri;
/// The uri of the source file this library was loaded from.
« no previous file with comments | « pkg/kernel/lib/application_root.dart ('k') | pkg/kernel/lib/repository.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698